OpenStructure
|
#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< String > | GetPropList () const |
Additional Inherited Members | |
Protected Member Functions inherited from ConstGenericPropContainer< H > | |
template<typename T > | |
T | gp_get (const String &key) const |
template<typename T > | |
T | gp_get (const String &key, const T &def) const |
GenericPropContainerImpl * | GetImpl () |
const GenericPropContainerImpl * | GetImpl () const |
base class for the handler classes
Definition at line 301 of file generic_property.hh.
|
inline |
Definition at line 305 of file generic_property.hh.
|
inline |
Definition at line 339 of file generic_property.hh.
|
inline |
\ brief sets boolean property
Definition at line 333 of file generic_property.hh.
sets floating point property
Definition at line 319 of file generic_property.hh.
|
inline |
sets integer property
Definition at line 326 of file generic_property.hh.
sets String property
Definition at line 312 of file generic_property.hh.