Feel++
0.92.0
|
brief description More...
#include <crbdb.hpp>
Public Member Functions | |
Constructors, destructor | |
CRBDB () | |
default constructor | |
CRBDB (std::string prefixdir, std::string name, std::string dbprefix, po::variables_map const &vm) | |
constructor from command line options | |
CRBDB (CRBDB const &) | |
copy constructor | |
virtual | ~CRBDB () |
destructor | |
Operator overloads | |
CRBDB & | operator= (CRBDB const &o) |
copy operator | |
Accessors | |
std::string const & | prefixDirectory () const |
std::string const & | name () const |
std::string const & | dbFilename () const |
fs::path | dbLocalPath () const |
fs::path | dbSystemPath () const |
fs::path | lookForDB () const |
po::variables_map | vm () |
po::variables_map | vm () const |
bool | isDBLoaded () const |
Mutators | |
void | setDBFilename (std::string const &filename) |
set the DB filename | |
Methods | |
virtual void | saveDB () |
virtual bool | loadDB () |
Protected Member Functions | |
void | setIsLoaded (bool isloaded) |
template<class Archive > | |
void | save (Archive &ar, const unsigned int version) const |
template<class Archive > | |
void | load (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
brief description
std::string const& Feel::CRBDB::dbFilename | ( | ) | const [inline] |
Referenced by lookForDB(), Feel::CRBSCM< TruthModelType >::saveDB(), and Feel::CRB< TruthModelType >::saveDB().
fs::path Feel::CRBDB::dbLocalPath | ( | ) | const |
References Feel::Environment::rootRepository().
Referenced by lookForDB(), Feel::CRBSCM< TruthModelType >::saveDB(), and Feel::CRB< TruthModelType >::saveDB().
fs::path Feel::CRBDB::dbSystemPath | ( | ) | const |
bool Feel::CRBDB::isDBLoaded | ( | ) | const [inline] |
bool Feel::CRBDB::loadDB | ( | ) | [virtual] |
load the CRB database
Reimplemented in Feel::CRB< TruthModelType >, and Feel::CRBSCM< TruthModelType >.
fs::path Feel::CRBDB::lookForDB | ( | ) | const |
References dbFilename(), dbLocalPath(), and dbSystemPath().
Referenced by Feel::CRB< TruthModelType >::CRB(), Feel::CRBSCM< TruthModelType >::CRBSCM(), Feel::CRBSCM< TruthModelType >::loadDB(), and Feel::CRB< TruthModelType >::loadDB().
std::string const& Feel::CRBDB::name | ( | ) | const [inline] |
std::string const& Feel::CRBDB::prefixDirectory | ( | ) | const [inline] |
void Feel::CRBDB::saveDB | ( | ) | [virtual] |
save the CRB database
Reimplemented in Feel::CRB< TruthModelType >, and Feel::CRBSCM< TruthModelType >.
po::variables_map Feel::CRBDB::vm | ( | ) | [inline] |
variables_map
Referenced by Feel::CRB< TruthModelType >::check(), Feel::CRB< TruthModelType >::lb(), Feel::CRB< TruthModelType >::maxErrorBounds(), Feel::CRB< TruthModelType >::offline(), Feel::CRB< TruthModelType >::orthonormalize(), Feel::CRB< TruthModelType >::printErrorDuringOfflineStep(), Feel::CRB< TruthModelType >::rebuildDB(), Feel::CRB< TruthModelType >::run(), and Feel::CRB< TruthModelType >::showMuSelection().
po::variables_map Feel::CRBDB::vm | ( | ) | const [inline] |
variables_map