HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CMD_VariableTable Class Reference

#include <CMD_Variable.h>

+ Inheritance diagram for CMD_VariableTable:

Public Member Functions

 CMD_VariableTable ()
 
 ~CMD_VariableTable () override
 
bool hasVariable (const char *name)
 
bool getVariable (const char *name, UT_String &value)
 
bool getVariable (const char *name, fpreal32 &value)
 
bool getVariable (const char *name, fpreal64 &value)
 
bool getVariable (const char *name, int32 &value)
 
bool getVariable (const char *name, int64 &value)
 
void setVariable (const char *name, const char *value, bool xport=true)
 
bool destroyVariable (const char *name)
 
int getVariableNames (UT_StringArray &nameList, int dirty=0)
 
int clearDirtyFlags ()
 
bool destroySymbol (const char *name) override
 
- Public Member Functions inherited from CMD_SymbolList
virtual ~CMD_SymbolList ()
 
bool hasValue (const char *name) const
 
bool getValue (const char *name, UT_String &value)
 
bool getValue (const char *name, fpreal32 &value)
 
bool getValue (const char *name, fpreal64 &value)
 
bool getValue (const char *name, int64 &value)
 
bool getValue (const char *name, int32 &value)
 
bool setValue (const char *name, const char *value, bool export_var)
 
bool setValueIfDifferent (const char *name, const char *value, bool export_var)
 
exint getSymbolNames (UT_StringArray &nameList)
 
bool setDirty (const char *name, bool dirty)
 

Friends

class CMD_Manager
 

Additional Inherited Members

- Protected Types inherited from CMD_SymbolList
typedef UT_StringMap
< CMD_SymbolEntry
TableMap
 
- Protected Member Functions inherited from CMD_SymbolList
virtual bool isValidSymbolName (const char *name) const
 
UT_LockgetLock () const
 
const TableMaptable () const
 
TableMaptable ()
 

Detailed Description

Definition at line 21 of file CMD_Variable.h.

Constructor & Destructor Documentation

CMD_VariableTable::CMD_VariableTable ( )
CMD_VariableTable::~CMD_VariableTable ( )
override

Member Function Documentation

int CMD_VariableTable::clearDirtyFlags ( )
bool CMD_VariableTable::destroySymbol ( const char *  name)
overridevirtual

Reimplemented from CMD_SymbolList.

bool CMD_VariableTable::destroyVariable ( const char *  name)
inline

Definition at line 45 of file CMD_Variable.h.

bool CMD_VariableTable::getVariable ( const char *  name,
UT_String value 
)
inline

Definition at line 30 of file CMD_Variable.h.

bool CMD_VariableTable::getVariable ( const char *  name,
fpreal32 value 
)
inline

Definition at line 32 of file CMD_Variable.h.

bool CMD_VariableTable::getVariable ( const char *  name,
fpreal64 value 
)
inline

Definition at line 34 of file CMD_Variable.h.

bool CMD_VariableTable::getVariable ( const char *  name,
int32 value 
)
inline

Definition at line 36 of file CMD_Variable.h.

bool CMD_VariableTable::getVariable ( const char *  name,
int64 value 
)
inline

Definition at line 38 of file CMD_Variable.h.

int CMD_VariableTable::getVariableNames ( UT_StringArray nameList,
int  dirty = 0 
)
bool CMD_VariableTable::hasVariable ( const char *  name)
inline

Definition at line 27 of file CMD_Variable.h.

void CMD_VariableTable::setVariable ( const char *  name,
const char *  value,
bool  xport = true 
)
inline

Definition at line 41 of file CMD_Variable.h.

Friends And Related Function Documentation

friend class CMD_Manager
friend

Definition at line 57 of file CMD_Variable.h.


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