CAPD RedHom Library
capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage > Class Template Reference

#include <capd/complex/CellSComplex.h>

Classes

struct  Cell
 

Public Types

typedef CellCodeT CellCode
 
typedef Traits::Id Id
 
typedef Traits::Dim Dim
 
typedef Traits::Color Color
 
typedef boost::iterator_range< typename std::vector< Id >::const_iteratorBoundary
 

Public Member Functions

template<typename BoundaryGenerator , typename Dimension , typename PositionToIdCallback >
 CellSComplex (const CellCodeStorage &storage, BoundaryGenerator boundaryGenerator, Dimension dimension, PositionToIdCallback positionToIdCallback)
 
template<typename BoundaryGenerator , typename Dimension >
 CellSComplex (const CellCodeStorage &storage, BoundaryGenerator boundaryGenerator, Dimension dimension)
 
template<typename Iterator , typename BoundaryGenerator , typename Dimension >
 CellSComplex (Iterator begin, Iterator end, size_t size, BoundaryGenerator boundaryGenerator, Dimension dimension)
 
virtual ~CellSComplex ()
 
Id size () const
 
Dim dim () const
 
Cell operator[] (const CellCode &cellCode) const
 
Cell operator[] (Id cellId) const
 
void setColor (Id id, const Color &color)
 
Boundary boundary (const Cell &cell) const
 

Friends

struct Cell
 

Member Typedef Documentation

template<typename CellCodeT, typename Traits, typename CellCodeStorage>
typedef boost::iterator_range<typename std::vector<Id>::const_iterator> capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::Boundary
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
typedef CellCodeT capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::CellCode
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
typedef Traits::Color capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::Color
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
typedef Traits::Dim capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::Dim
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
typedef Traits::Id capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::Id

Constructor & Destructor Documentation

template<typename CellCodeT, typename Traits, typename CellCodeStorage>
template<typename BoundaryGenerator , typename Dimension , typename PositionToIdCallback >
capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::CellSComplex ( const CellCodeStorage &  storage,
BoundaryGenerator  boundaryGenerator,
Dimension  dimension,
PositionToIdCallback  positionToIdCallback 
)
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
template<typename BoundaryGenerator , typename Dimension >
capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::CellSComplex ( const CellCodeStorage &  storage,
BoundaryGenerator  boundaryGenerator,
Dimension  dimension 
)
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
template<typename Iterator , typename BoundaryGenerator , typename Dimension >
capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::CellSComplex ( Iterator  begin,
Iterator  end,
size_t  size,
BoundaryGenerator  boundaryGenerator,
Dimension  dimension 
)
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
virtual capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::~CellSComplex ( )
inlinevirtual

Member Function Documentation

template<typename CellCodeT, typename Traits, typename CellCodeStorage>
Boundary capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::boundary ( const Cell cell) const
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
Dim capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::dim ( ) const
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
Cell capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::operator[] ( const CellCode cellCode) const
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
Cell capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::operator[] ( Id  cellId) const
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
void capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::setColor ( Id  id,
const Color color 
)
inline
template<typename CellCodeT, typename Traits, typename CellCodeStorage>
Id capd::complex::CellSComplex< CellCodeT, Traits, CellCodeStorage >::size ( ) const
inline

Friends And Related Function Documentation

template<typename CellCodeT, typename Traits, typename CellCodeStorage>
friend struct Cell
friend