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

Impala::Util::PropertySet Class Reference

#include <PropertySet.h>

Collaboration diagram for Impala::Util::PropertySet:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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

Detailed Description

Definition at line 12 of file PropertySet.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:41:06 2010 for ImpalaSrc by  doxygen 1.5.1