#include <Properties.h>
Graphe de collaboration de Properties:
typedef std::map< std::string, std::string >::iterator | Iterator |
typedef std::map< std::string, std::string >::const_iterator | constIterator |
Iterator | begin () |
Iterator | end () |
constIterator | begin () const |
constIterator | end () const |
Fonctions membres publiques | |
Properties () | |
Default Constructor. | |
virtual | ~Properties () |
Destructor. | |
virtual void | load (const std::string &filename) |
Open and read the file with name 'file'. | |
virtual void | store (const std::string &filename, const std::string &header="") const |
Close the file. | |
virtual void | print (std::ostream &) const |
Print the set of parameters for the simulation. | |
std::string & | operator[] (const std::string &key) |
Return the value with 'key' or a null string if doesn't exist. | |
const std::string & | operator[] (const std::string &key) const |
Return the value with 'key' or a null string if doesn't exist. | |
Attributs protégés | |
std::map< std::string, std::string > | _map |
Définition à la ligne 21 du fichier Properties.h.
typedef std::map<std::string,std::string>::iterator Properties::Iterator |
Définition à la ligne 50 du fichier Properties.h.
typedef std::map<std::string,std::string>::const_iterator Properties::constIterator |
Définition à la ligne 51 du fichier Properties.h.
Properties::Properties | ( | ) |
Properties::~Properties | ( | ) | [virtual] |
void Properties::load | ( | const std::string & | filename | ) | [virtual] |
Open and read the file with name 'file'.
Définition à la ligne 63 du fichier Properties.cpp.
Références lower(), et skip_line().
Référencé par Scene::Param(), et ObjetSimule::Param_mesh().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void Properties::store | ( | const std::string & | filename, | |
const std::string & | header = "" | |||
) | const [virtual] |
Close the file.
Définition à la ligne 100 du fichier Properties.cpp.
Références print().
Voici le graphe d'appel pour cette fonction :
void Properties::print | ( | std::ostream & | ) | const [virtual] |
Print the set of parameters for the simulation.
Définition à la ligne 114 du fichier Properties.cpp.
Référencé par store().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
std::string & Properties::operator[] | ( | const std::string & | key | ) |
Return the value with 'key' or a null string if doesn't exist.
Définition à la ligne 129 du fichier Properties.cpp.
Références _map.
const std::string & Properties::operator[] | ( | const std::string & | key | ) | const |
Return the value with 'key' or a null string if doesn't exist.
Définition à la ligne 134 du fichier Properties.cpp.
Références _map.
Iterator Properties::begin | ( | ) | [inline] |
Iterator Properties::end | ( | ) | [inline] |
Définition à la ligne 55 du fichier Properties.h.
Références _map.
Référencé par print().
Voici le graphe d'appel pour cette fonction :
constIterator Properties::begin | ( | ) | const [inline] |
constIterator Properties::end | ( | ) | const [inline] |
std::map<std::string,std::string> Properties::_map [protected] |
Définition à la ligne 63 du fichier Properties.h.
Référencé par begin(), end(), operator[](), et print().