Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

Impala::Util::PropertySet Class Reference

#include <PropertySet.h>

List of all members.

Public Member Functions

 PropertySet ()
 PropertySet (CString definition)
 format of definition:
  • space separated name,value pairs
  • name is separated from by value with '='

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< StringmNames
std::vector< StringmValues
 ILOG_CLASS


Detailed Description

Definition at line 14 of file PropertySet.h.


The documentation for this class was generated from the following file:
Generated on Thu Jan 13 09:24:19 2011 for ImpalaSrc by  doxygen 1.5.1