Public Types | Public Member Functions | Private Attributes
beliefstate::Property Class Reference

#include <Property.h>

List of all members.

Public Types

enum  PropertyType {
  String, Integer, Double, Boolean,
  Array, Object
}

Public Member Functions

void addSubProperty (Property *prSubProperty)
bool getBoolean ()
double getDouble ()
int getInteger ()
std::string getString ()
std::string key ()
PropertynamedSubProperty (std::string strKey)
void print (int nIndentationLevel=0, bool bPrintKey=true)
 Property (std::string strKey="", PropertyType ptType=String)
 Property (Property *prTemplate, bool bDeepCopy=true)
void set (PropertyType ptType)
void set (std::string strValue)
void set (int nValue)
void set (double dValue)
void set (bool bValue)
void setKey (std::string strKey)
std::list< Property * > subProperties ()
PropertyType type ()
 ~Property ()

Private Attributes

double m_dValue
std::list< Property * > m_lstSubProperties
PropertyType m_ptType
std::string m_strKey
std::string m_strValue

Detailed Description

Definition at line 51 of file Property.h.


Member Enumeration Documentation

Enumerator:
String 
Integer 
Double 
Boolean 
Array 
Object 

Definition at line 53 of file Property.h.


Constructor & Destructor Documentation

beliefstate::Property::Property ( std::string  strKey = "",
PropertyType  ptType = String 
)

Definition at line 44 of file Property.cpp.

beliefstate::Property::Property ( Property prTemplate,
bool  bDeepCopy = true 
)

Definition at line 52 of file Property.cpp.

Definition at line 85 of file Property.cpp.


Member Function Documentation

Definition at line 141 of file Property.cpp.

Definition at line 137 of file Property.cpp.

Definition at line 129 of file Property.cpp.

Definition at line 121 of file Property.cpp.

Definition at line 113 of file Property.cpp.

std::string beliefstate::Property::key ( )

Definition at line 97 of file Property.cpp.

Definition at line 197 of file Property.cpp.

void beliefstate::Property::print ( int  nIndentationLevel = 0,
bool  bPrintKey = true 
)

Definition at line 149 of file Property.cpp.

Definition at line 101 of file Property.cpp.

void beliefstate::Property::set ( std::string  strValue)

Definition at line 109 of file Property.cpp.

void beliefstate::Property::set ( int  nValue)

Definition at line 117 of file Property.cpp.

void beliefstate::Property::set ( double  dValue)

Definition at line 125 of file Property.cpp.

void beliefstate::Property::set ( bool  bValue)

Definition at line 133 of file Property.cpp.

void beliefstate::Property::setKey ( std::string  strKey)

Definition at line 93 of file Property.cpp.

Definition at line 145 of file Property.cpp.

Definition at line 105 of file Property.cpp.


Member Data Documentation

Definition at line 66 of file Property.h.

Definition at line 63 of file Property.h.

Definition at line 67 of file Property.h.

std::string beliefstate::Property::m_strKey [private]

Definition at line 64 of file Property.h.

std::string beliefstate::Property::m_strValue [private]

Definition at line 65 of file Property.h.


The documentation for this class was generated from the following files:


beliefstate
Author(s): Jan Winkler
autogenerated on Sun Oct 5 2014 22:30:16