11 #ifndef __PRM_Default__
12 #define __PRM_Default__
27 #define PRM_FACTORY_DEF PRM_DefaultType( \
28 PRM_DEFAULT_LOCK | PRM_DEFAULT_FCTY)
29 #define PRM_USER_DEF PRM_DefaultType( \
30 PRM_FACTORY_DEF | PRM_DEFAULT_USER)
31 #define PRM_TRUE_FACTORY_DEF PRM_DefaultType( \
32 PRM_FACTORY_DEF | PRM_DEFAULT_EXPR)
33 #define PRM_FACTORY_UI_DEF PRM_DefaultType( \
34 PRM_TRUE_FACTORY_DEF & ~PRM_DEFAULT_LOCK)
50 const char *thestring = 0,
56 bool gotString()
const {
return (myString) ?
true :
false; }
57 const char *
getString()
const {
return (myString) ? myString :
""; }
59 {
return myStringMeaning; }
61 void set(
fpreal thefloat,
const char *thestring,
66 void setString(
const char *
v,
bool free_existing =
false);
73 {
return inclusive ?
sizeof(*this) : 0; }
CH_StringMeaning getStringMeaning() const
const char * getString() const
int64 getMemoryUsage(bool inclusive) const