CAPD RedHom Library
capd::apiRedHom::ProdSimplicialComplex Class Reference

#include <capd/apiRedHom/Complex.h>

Public Types

typedef std::pair< uint8_t, uint8_t > Coordinate
 
typedef std::vector< CoordinateCellCode
 
typedef boost::any_range< CellCode, boost::forward_traversal_tag, const CellCode, std::ptrdiff_t > CellCodeRange
 
typedef boost::any InternalComplex
 
typedef ComplexTraits< DefaultComplexTagTraits
 
typedef Traits::Size Size
 
typedef Traits::Dim Dim
 
typedef Traits::Id Id
 
typedef CellsCollection::ComplexCell Cell
 

Public Member Functions

void insert (const CellCode &prodSimplex)
 
Cell operator[] (const CellCode &prodSimplex)
 
boost::optional< Cellfind (const CellCode &prodSimplex)
 
AnyWrapperanyComplex ()
 
template<typename T >
T & rawComplex ()
 
template<typename T >
boost::shared_ptr< T > rawComplexPtr ()
 
Dim dim () const
 
Size cardinality () const
 
ComplexIterators iterators ()
 

Static Public Attributes

static const int TYPE_STATIC_PRECOMPILED_DIM = complex::ProdSimplicialComplexes::STATIC_PRECOMPILED_DIM
 
static const int TYPE_STATIC_NOT_PRECOMPILED_DIM
 

Protected Member Functions

template<typename ThisT , typename Types >
void set_complex (const AnyWrapper &complex)
 

Protected Attributes

boost::function< void(const CellCode &prodSimplex)> _insert
 
boost::function< Cell(const CellCode &prodSimplex)> _operator_array
 
boost::function< boost::optional< Cell >const CellCode &prodSimplex)> _find
 
AnyWrapper _complex
 
boost::function< Dim()> _dim
 
boost::function< Size()> _cardinality
 
 CAPD_CLASS_LOGGER
 

Friends

struct CreateProdSimplicialComplex
 
struct SetFunctions< ProdSimplicialComplex >
 
 ProdSimplicialComplex (const CellCodeRange &prodSimplices=CellCodeRange(), int rows=-1, int length=-1, int type=TypeDefault())
 
static int TypeDefault ()
 

Member Typedef Documentation

typedef boost::any_range<CellCode, boost::forward_traversal_tag, const CellCode, std::ptrdiff_t> capd::apiRedHom::ProdSimplicialComplex::CellCodeRange
typedef std::pair<uint8_t, uint8_t> capd::apiRedHom::ProdSimplicialComplex::Coordinate
typedef boost::any capd::apiRedHom::Complex::InternalComplex
inherited

Constructor & Destructor Documentation

ProdSimplicialComplex::ProdSimplicialComplex ( const CellCodeRange prodSimplices = CellCodeRange(),
int  rows = -1,
int  length = -1,
int  type = TypeDefault() 
)
explicit

Member Function Documentation

AnyWrapper& capd::apiRedHom::Complex::anyComplex ( )
inlineinherited
Size capd::apiRedHom::Complex::cardinality ( ) const
inlineinherited
Dim capd::apiRedHom::Complex::dim ( ) const
inlineinherited
boost::optional<Cell> capd::apiRedHom::ProdSimplicialComplex::find ( const CellCode prodSimplex)
inline
void capd::apiRedHom::ProdSimplicialComplex::insert ( const CellCode prodSimplex)
inline
ComplexIterators Complex::iterators ( )
inherited
Cell capd::apiRedHom::ProdSimplicialComplex::operator[] ( const CellCode prodSimplex)
inline
template<typename T >
T& capd::apiRedHom::Complex::rawComplex ( )
inlineinherited
template<typename T >
boost::shared_ptr<T> capd::apiRedHom::Complex::rawComplexPtr ( )
inlineinherited
template<typename ThisT , typename Types >
void capd::apiRedHom::Complex::set_complex ( const AnyWrapper complex)
protectedinherited
int ProdSimplicialComplex::TypeDefault ( )
static

Friends And Related Function Documentation

friend struct CreateProdSimplicialComplex
friend
friend struct SetFunctions< ProdSimplicialComplex >
friend

Member Data Documentation

boost::function<Size()> capd::apiRedHom::Complex::_cardinality
protectedinherited
AnyWrapper capd::apiRedHom::Complex::_complex
protectedinherited
boost::function<Dim()> capd::apiRedHom::Complex::_dim
protectedinherited
boost::function<boost::optional<Cell>const CellCode& prodSimplex)> capd::apiRedHom::ProdSimplicialComplex::_find
protected
boost::function<void(const CellCode& prodSimplex)> capd::apiRedHom::ProdSimplicialComplex::_insert
protected
boost::function<Cell(const CellCode& prodSimplex)> capd::apiRedHom::ProdSimplicialComplex::_operator_array
protected
capd::apiRedHom::Complex::CAPD_CLASS_LOGGER
protectedinherited
const int capd::apiRedHom::ProdSimplicialComplex::TYPE_STATIC_NOT_PRECOMPILED_DIM
static
const int capd::apiRedHom::ProdSimplicialComplex::TYPE_STATIC_PRECOMPILED_DIM = complex::ProdSimplicialComplexes::STATIC_PRECOMPILED_DIM
static