CAPD RedHom Library
capd::homAux::TheConfig Class Reference

#include <capd/homAux/TheConfig.h>

Public Member Functions

int defaultSimplicialType () const
 
void setDefaultSimplicialType (int v)
 
int defaultCubicalType () const
 
void setDefaultCubicalType (int v)
 
int defaultGeneralizedType () const
 
void setDefaultGeneralizedType (int v)
 
void setDefaultComputationModel (int m)
 
int defaultComputationModel () const
 
void setDefaultDiscreteVectorFieldMethod (int m)
 
int defaultDiscreteVectorFieldMethod () const
 
void setBettiNumbersFlags (const std::string &f)
 
unsigned bettiNumbersFlags () const
 
void setUsePARI (bool v)
 
bool usePARI () const
 
void erase (const std::string &key)
 
template<typename T >
void set (const std::string &key, const T &v)
 
template<typename T >
get (const std::string &key, T def=T()) const
 
bool contains (const std::string &key) const
 
void makeDefault ()
 

Static Public Member Functions

static TheConfiginstance ()
 

Member Function Documentation

unsigned capd::homAux::TheConfig::bettiNumbersFlags ( ) const
inline
bool capd::homAux::TheConfig::contains ( const std::string &  key) const
inline
int capd::homAux::TheConfig::defaultComputationModel ( ) const
inline
int capd::homAux::TheConfig::defaultCubicalType ( ) const
inline
int capd::homAux::TheConfig::defaultDiscreteVectorFieldMethod ( ) const
inline
int capd::homAux::TheConfig::defaultGeneralizedType ( ) const
inline
int capd::homAux::TheConfig::defaultSimplicialType ( ) const
inline
void capd::homAux::TheConfig::erase ( const std::string &  key)
inline
template<typename T >
T capd::homAux::TheConfig::get ( const std::string &  key,
def = T() 
) const
inline
static TheConfig& capd::homAux::TheConfig::instance ( )
inlinestatic
void capd::homAux::TheConfig::makeDefault ( )
template<typename T >
void capd::homAux::TheConfig::set ( const std::string &  key,
const T &  v 
)
inline
void capd::homAux::TheConfig::setBettiNumbersFlags ( const std::string &  f)
void capd::homAux::TheConfig::setDefaultComputationModel ( int  m)
inline
void capd::homAux::TheConfig::setDefaultCubicalType ( int  v)
inline
void capd::homAux::TheConfig::setDefaultDiscreteVectorFieldMethod ( int  m)
inline
void capd::homAux::TheConfig::setDefaultGeneralizedType ( int  v)
inline
void capd::homAux::TheConfig::setDefaultSimplicialType ( int  v)
inline
void capd::homAux::TheConfig::setUsePARI ( bool  v)
inline
bool capd::homAux::TheConfig::usePARI ( ) const
inline