mln::topo::internal::complex_data< D > Struct Template Reference

Complex data. More...

#include <complex.hh>

Inheritance diagram for mln::topo::internal::complex_data< 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
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 == D.
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< D, D > > faces_


Detailed Description

template<unsigned D>
struct mln::topo::internal::complex_data< D >

Complex data.

Definition at line 432 of file complex.hh.


Member Function Documentation

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

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

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

Reimplemented from mln::topo::internal::faces_set_mixin< D-1, D >.

Definition at line 918 of file complex.hh.

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

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

Functional meta-manipulators.

Fold left.

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

Reimplemented from mln::topo::internal::faces_set_mixin< D-1, D >.

Definition at line 856 of file complex.hh.

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

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

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 D>
void mln::topo::internal::faces_set_mixin< D, D >::print ( std::ostream &  ostr  )  const [inline, inherited]

Pretty-printing.

Print the faces of dimension D.

Reimplemented from mln::topo::internal::faces_set_mixin< D-1, D >.

Definition at line 780 of file complex.hh.

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

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

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

Reimplemented from mln::topo::internal::faces_set_mixin< D-1, D >.

Definition at line 727 of file complex.hh.

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


Member Data Documentation

template<unsigned D>
std::vector< face_data<D, D> > mln::topo::internal::faces_set_mixin< D, D >::faces_ [inherited]

Reimplemented from mln::topo::internal::faces_set_mixin< D-1, D >.

Definition at line 347 of file complex.hh.


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