mln::topo::internal::faces_set_mixin< N, D > Struct Template Reference

Faces of intermediate dimension (greater than 0, lower than D). More...

#include <complex.hh>

Inheritance diagram for mln::topo::internal::faces_set_mixin< N, D >:

Inheritance graph

List of all members.

Public Member Functions

void print (std::ostream &ostr, const face_data< N, D > &f) const
void print (std::ostream &ostr, const face_data< N, D > &f) const
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 == N.
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
 Recursively print the faces of dimensions 0 to N (in ascending dimension).

Public Attributes

std::vector< face_data< N, D > > faces_


Detailed Description

template<unsigned N, unsigned D>
struct mln::topo::internal::faces_set_mixin< N, D >

Faces of intermediate dimension (greater than 0, lower than D).

Definition at line 313 of file complex.hh.


Member Function Documentation

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

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

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

Reimplemented in mln::topo::internal::faces_set_mixin< D, D >.

Definition at line 932 of file complex.hh.

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

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

Functional meta-manipulators.

Fold left.

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

Reimplemented in mln::topo::internal::faces_set_mixin< D, D >.

Definition at line 866 of file complex.hh.

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

template<unsigned N, unsigned D>
void mln::topo::internal::higher_dim_faces_set_mixin< N, D >::print ( std::ostream &  ostr,
const face_data< N, D > &  f 
) const [inline, inherited]

Definition at line 819 of file complex.hh.

template<unsigned N, unsigned D>
void mln::topo::internal::lower_dim_faces_set_mixin< N, D >::print ( std::ostream &  ostr,
const face_data< N, D > &  f 
) const [inline, inherited]

Definition at line 808 of file complex.hh.

template<unsigned N, unsigned D>
void mln::topo::internal::faces_set_mixin< N, D >::print ( std::ostream &  ostr  )  const [inline]

template<unsigned N, unsigned D>
void mln::topo::internal::faces_set_mixin< N, D >::print_rec_asc ( std::ostream &  ostr  )  const [inline]

Recursively print the faces of dimensions 0 to N (in ascending dimension).

Reimplemented in mln::topo::internal::faces_set_mixin< D, D >.

Definition at line 710 of file complex.hh.

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


Member Data Documentation

template<unsigned N, unsigned D>
std::vector< face_data<N, D> > mln::topo::internal::faces_set_mixin< N, D >::faces_


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