Feel++  0.92.0
Protected Member Functions | Friends
Feel::CRBDB Class Reference

brief description More...

#include <crbdb.hpp>

Inheritance diagram for Feel::CRBDB:
Feel::CRB< TruthModelType > Feel::CRBSCM< TruthModelType >

List of all members.

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
CRBDBoperator= (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

Detailed Description

brief description

Author:
Christophe Prud'homme
See also:

Member Function Documentation

std::string const& Feel::CRBDB::dbFilename ( ) const [inline]
fs::path Feel::CRBDB::dbLocalPath ( ) const
fs::path Feel::CRBDB::dbSystemPath ( ) const
Returns:
the db system path

References Feel::Info::prefix().

Referenced by lookForDB().

bool Feel::CRBDB::isDBLoaded ( ) const [inline]
Returns:
true if the DB has been loaded, false otherwise
bool Feel::CRBDB::loadDB ( ) [virtual]

load the CRB database

Reimplemented in Feel::CRB< TruthModelType >, and Feel::CRBSCM< TruthModelType >.

fs::path Feel::CRBDB::lookForDB ( ) const
std::string const& Feel::CRBDB::name ( ) const [inline]
std::string const& Feel::CRBDB::prefixDirectory ( ) const [inline]
Returns:
prefix directory
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]
po::variables_map Feel::CRBDB::vm ( ) const [inline]
Returns:
variables_map