Public Attributes

mln::topo::internal::faces_set_mixin< 0u, 0u > Struct Template Reference

Faces of a 0-complex. More...

#include <complex.hh>

List of all members.

Public Member Functions

void print (std::ostream &ostr) const
 Pretty-printing.
void print_rec_asc (std::ostream &ostr) const

template<typename BinaryFunction , typename T >
fold_left_ (const BinaryFunction &f, const T &accu) const
 Functional meta-manipulators.
template<typename UnaryFunction >
UnaryFunction::result_type apply_if_dim_matches_ (unsigned n, const UnaryFunction &f) const
 Apply a functor f to the list of faces if n == 0.

Public Attributes

std::vector< face_data< 0u, 0u > > faces_

Detailed Description

template<>
struct mln::topo::internal::faces_set_mixin< 0u, 0u >

Faces of a 0-complex.

Definition at line 400 of file complex.hh.


Member Function Documentation

template<typename UnaryFunction >
UnaryFunction::result_type mln::topo::internal::faces_set_mixin< 0u, 0u >::apply_if_dim_matches_ ( unsigned  n,
const UnaryFunction &  f 
) const [inline]

Apply a functor f to the list of faces if n == 0.

See also:
mln::complex<D>::apply_if_dim_matches_.

Definition at line 960 of file complex.hh.

References mln::topo::internal::faces_set_mixin< N, D >::faces_.

template<typename BinaryFunction , typename T >
T mln::topo::internal::faces_set_mixin< 0u, 0u >::fold_left_ ( const BinaryFunction &  f,
const T &  accu 
) const [inline]

Functional meta-manipulators.

Fold left.

See also:
mln::complex<D>::fold_left_.

Definition at line 886 of file complex.hh.

References mln::topo::internal::faces_set_mixin< N, D >::faces_.

void mln::topo::internal::faces_set_mixin< 0u, 0u >::print ( std::ostream &  ostr  )  const [inline]

Pretty-printing.

Print the faces of dimension D.

Definition at line 797 of file complex.hh.

References mln::topo::internal::faces_set_mixin< N, D >::faces_.

void mln::topo::internal::faces_set_mixin< 0u, 0u >::print_rec_asc ( std::ostream &  ostr  )  const [inline]

Definition at line 736 of file complex.hh.

References mln::topo::internal::faces_set_mixin< N, D >::print().


Member Data Documentation

std::vector< face_data<0u, 0u> > mln::topo::internal::faces_set_mixin< 0u, 0u >::faces_

Definition at line 402 of file complex.hh.