#include <uproperties.hpp>
Inheritance diagram for ufo::UProperties:
Public Types | |
typedef std::map< std::string, std::string > | propertiesMap |
typedef std::map< std::string, UProperties * > | childMap |
Public Member Functions | |
UProperties (const std::string &fileNameA) | |
UObject * | clone () |
void | setReader (Reader *p) |
Reader * | getReader () |
void | setWriter (Writer *p) |
Writer * | getWriter () |
void | load (const std::string &fileNameA) |
void | load (std::istream &streamA) |
void | save (std::ostream &streamA) |
void | save (const std::string &fileNameA) |
std::string | get (const std::string &keyA) |
void | put (const std::string &keyA, const std::string &valueA) |
std::vector< std::string > | getKeys () |
void | clear () |
void | putChild (const std::string &keyA, UProperties *propA) |
UProperties * | getChild (const std::string &keyA) |
std::vector< std::string > | getChildKeys () |
|
clears all entries and child properties |
|
Returns value specified by keyA. |
|
Returns all keys for children. |
|
Returns all available keys in this properties set. |