COVISE Core
|
#include <regClass.h>
Public Types | |
typedef std::map< const std::string, std::shared_ptr < variableType > > | VariableMap |
Public Member Functions | |
regClass (const std::string &n, int ID) | |
int | getID () |
get Class ID More... | |
void | setID (int id) |
const std::string & | getName () |
void | append (variableType *var) |
creates a a regvar entry in the map More... | |
variableType * | getVar (const std::string &n) |
getVariableEntry, returns NULL if not found More... | |
void | deleteVar (const std::string &n) |
remove a Variable More... | |
void | deleteAllNonStaticVars () |
remove some Variables More... | |
bool | isDeleted () |
void | setDeleted (bool isdeleted=true) |
void | writeClass (std::ofstream &file) |
write the classname and all variables in a .vrbreg file More... | |
void | readVar (std::ifstream &file) |
reads the name and value out of stream, return false if class has no variable More... | |
virtual std::shared_ptr < variableType > | createVar (const std::string &name, covise::TokenBuffer &&value)=0 |
~regClass () | |
Protected Attributes | |
std::string | name |
int | classID = -1 |
bool | isDel |
VariableMap | myVariables |
typedef std::map<const std::string, std::shared_ptr<variableType> > vrb::regClass< variableType >::VariableMap |
|
inline |
|
inline |
|
inline |
creates a a regvar entry in the map
|
pure virtual |
Implemented in vrb::clientRegClass.
|
inline |
remove some Variables
|
inline |
remove a Variable
|
inline |
get Class ID
|
inline |
|
inline |
getVariableEntry, returns NULL if not found
|
inline |
|
inline |
reads the name and value out of stream, return false if class has no variable
|
inline |
|
inline |
|
inline |
write the classname and all variables in a .vrbreg file
|
protected |
|
protected |
|
protected |
|
protected |