OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
GenericPropContainer< H > Class Template Reference

#include <generic_property.hh>

Inherits ConstGenericPropContainer< H >.

Public Member Functions

void ClearProps ()
void SetStringProp (const String &key, const String &value)
void SetFloatProp (const String &key, Real value)
void SetIntProp (const String &key, int value)
void SetBoolProp (const String &key, bool value)
void RemoveProp (const String &key)
- Public Member Functions inherited from ConstGenericPropContainer< H >
bool HasProp (const String &key) const
String GetPropAsString (const String &key) const
String GetStringProp (const String &key) const
Real GetFloatProp (const String &key) const
int GetIntProp (const String &key) const
bool GetBoolProp (const String &key) const
String GetStringProp (const String &key, const String &def) const
Real GetFloatProp (const String &key, Real def) const
int GetIntProp (const String &key, int def) const
bool GetBoolProp (const String &key, bool def) const
std::map< String,
GenericPropValue
GetPropMap () const
std::vector< StringGetPropList () const

Additional Inherited Members

- Protected Member Functions inherited from ConstGenericPropContainer< H >
template<typename T >
gp_get (const String &key) const
template<typename T >
gp_get (const String &key, const T &def) const
GenericPropContainerImplGetImpl ()
const GenericPropContainerImplGetImpl () const

Detailed Description

template<typename H>
class ost::GenericPropContainer< H >

base class for the handler classes

Definition at line 301 of file generic_property.hh.


Member Function Documentation

void ClearProps ( )
inline

Definition at line 305 of file generic_property.hh.

void RemoveProp ( const String key)
inline

Definition at line 339 of file generic_property.hh.

void SetBoolProp ( const String key,
bool  value 
)
inline

\ brief sets boolean property

Definition at line 333 of file generic_property.hh.

void SetFloatProp ( const String key,
Real  value 
)
inline

sets floating point property

Definition at line 319 of file generic_property.hh.

void SetIntProp ( const String key,
int  value 
)
inline

sets integer property

Definition at line 326 of file generic_property.hh.

void SetStringProp ( const String key,
const String value 
)
inline

sets String property

Definition at line 312 of file generic_property.hh.


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