Public Member Functions | Public Attributes

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

Faces of lowest dimension (0). More...

#include <complex.hh>

Inheritance diagram for mln::topo::internal::faces_set_mixin< 0u, 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
 Pretty-printing.
void print_rec_asc (std::ostream &ostr) const

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

Public Attributes

std::vector< face_data< 0u, D > > faces_

Detailed Description

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

Faces of lowest dimension (0).

Definition at line 373 of file complex.hh.


Member Function Documentation

template<unsigned D>
template<typename UnaryFunction >
UnaryFunction::result_type mln::topo::internal::faces_set_mixin< 0u, D >::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 947 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< 0u, D >::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 877 of file complex.hh.

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

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

Pretty-printing.

Print the faces of dimension 0.

Definition at line 764 of file complex.hh.

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

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

Definition at line 720 of file complex.hh.

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


Member Data Documentation

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

Definition at line 375 of file complex.hh.