#include <PropertySet.h>
Collaboration diagram for Impala::Util::PropertySet:

Public Member Functions | |
| PropertySet () | |
| PropertySet (const std::string &definition) | |
format of definition:
| |
| void | Clear () |
| void | Parse (const std::string &definition) |
| std::string | GetString (const std::string &name, const std::string defaultValue="") const |
| double | GetDouble (const std::string &name, double defaultValue=0.) const |
| int | GetInt (const std::string &name, int defaultValue=0) const |
| bool | GetBool (const std::string &name, bool defaultValue=false) const |
| int | Add (const std::string &name, double value) |
| returns the index of the property | |
| int | Add (const std::string &name, const std::string &value) |
| returns the index of the property | |
| void | Print (std::ostream &os) const |
| void | Print (IOBuffer *buf) const |
| std::string | GetDescription () const |
| int | Size () const |
| std::string | GetName (int i) const |
| std::string | GetValue (int i) const |
Private Attributes | |
| std::vector< std::string > | mNames |
| std::vector< std::string > | mValues |
Definition at line 12 of file PropertySet.h.
1.5.1