Complex data. More...
#include <complex.hh>
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 |
void | print (std::ostream &ostr) const |
Pretty-printing. | |
void | print_rec_asc (std::ostream &ostr) const |
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). | |
template<typename BinaryFunction , typename T > | |
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 == D . | |
T | fold_left_ (const BinaryFunction &f, const T &accu) const |
Functional meta-manipulators. | |
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 . | |
Public Attributes | |
std::vector< face_data< D, D > > | faces_ |
std::vector< face_data< N, D > > | faces_ |
Complex data.
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
.
References mln::topo::internal::faces_set_mixin< N, D >::apply_if_dim_matches_(), and mln::topo::internal::faces_set_mixin< N, D >::faces_.
UnaryFunction::result_type mln::topo::internal::faces_set_mixin< N, D >::apply_if_dim_matches_ | ( | unsigned | n, | |
const UnaryFunction & | f | |||
) | const [inherited] |
Apply a functor f to the list of faces if n == N
.
T mln::topo::internal::faces_set_mixin< N, D >::fold_left_ | ( | const BinaryFunction & | f, | |
const T & | accu | |||
) | const [inherited] |
Functional meta-manipulators.
Fold left.
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.
References mln::topo::internal::faces_set_mixin< N, D >::faces_, and mln::topo::internal::faces_set_mixin< N, D >::fold_left_().
void mln::topo::internal::higher_dim_faces_set_mixin< N, D >::print | ( | std::ostream & | ostr, | |
const face_data< N, D > & | f | |||
) | const [inline, inherited] |
void mln::topo::internal::faces_set_mixin< N, D >::print | ( | std::ostream & | ostr | ) | const [inherited] |
Pretty-printing.
Print the faces of dimension N
.
void mln::topo::internal::faces_set_mixin< D, D >::print | ( | std::ostream & | ostr | ) | const [inline, inherited] |
Pretty-printing.
Print the faces of dimension D
.
References mln::topo::internal::faces_set_mixin< N, D >::faces_, and mln::topo::internal::faces_set_mixin< N, D >::print().
void mln::topo::internal::lower_dim_faces_set_mixin< N, D >::print | ( | std::ostream & | ostr, | |
const face_data< N, D > & | f | |||
) | const [inherited] |
void mln::topo::internal::lower_dim_faces_set_mixin< N, D >::print | ( | std::ostream & | ostr, | |
const face_data< N, D > & | f | |||
) | const [inline, inherited] |
void mln::topo::internal::faces_set_mixin< N, D >::print_rec_asc | ( | std::ostream & | ostr | ) | const [inherited] |
Recursively print the faces of dimensions 0 to N
(in ascending dimension).
void mln::topo::internal::faces_set_mixin< D, D >::print_rec_asc | ( | std::ostream & | ostr | ) | const [inline, inherited] |
std::vector< face_data<D, D> > mln::topo::internal::faces_set_mixin< D, D >::faces_ [inherited] |
std::vector< face_data<N, D> > mln::topo::internal::faces_set_mixin< N, D >::faces_ [inherited] |