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

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.
template<typename BinaryFunction, typename T>
fold_left_ (const BinaryFunction &f, const T &accu) const
 Functional meta-manipulators.
void print (std::ostream &ostr) const
 Pretty-printing.
void print_rec_asc (std::ostream &ostr) const

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 399 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 959 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 885 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 796 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 735 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 401 of file complex.hh.


Generated on Sun Apr 25 02:04:35 2010 for Milena (Olena) by  doxygen 1.5.6