Public Member Functions | Public Attributes

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

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 >
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.

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_

Detailed Description

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

Complex data.

Definition at line 433 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_.

Definition at line 919 of file complex.hh.

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.

See also:
mln::complex<D>::apply_if_dim_matches_.
T mln::topo::internal::faces_set_mixin< N, D >::fold_left_ ( const BinaryFunction &  f,
const T &  accu 
) const [inherited]

Functional meta-manipulators.

Fold left.

See also:
mln::complex<D>::fold_left_.
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_.

Definition at line 857 of file complex.hh.

References mln::topo::internal::faces_set_mixin< N, D >::faces_, and mln::topo::internal::faces_set_mixin< N, D >::fold_left_().

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 820 of file complex.hh.

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

Pretty-printing.

Print the faces of dimension N.

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.

Definition at line 781 of file complex.hh.

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]
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 809 of file complex.hh.

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).

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

Member Data Documentation

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

Definition at line 348 of file complex.hh.

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

Definition at line 318 of file complex.hh.