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 329 of file generic_property.hh.
|
inline |
Definition at line 333 of file generic_property.hh.
|
inline |
Definition at line 367 of file generic_property.hh.
|
inline |
\ brief sets boolean property
Definition at line 361 of file generic_property.hh.
sets floating point property
Definition at line 347 of file generic_property.hh.
|
inline |
sets integer property
Definition at line 354 of file generic_property.hh.
sets String property
Definition at line 340 of file generic_property.hh.