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