C3D Toolkit  Kernel - 118069, Vision - 2.16.7.1844

String variable. More...

#include <pars_var.h>

+ Inheritance diagram for MbStringVar:
+ Collaboration diagram for MbStringVar:

Public Member Functions

 MbStringVar (const c3d::string_t &name)
 Constructor.
 
virtual ~MbStringVar ()
 Destructor.
 
const c3d::string_t & GetStringValue () const
 A value of variable.
 
void SetStringValue (const c3d::string_t &stringValue)
 Assign a value to a variable.
 
MbVarType IsA () const override
 Value type.
 
- Public Member Functions inherited from MbVar
 MbVar (const c3d::string_t &name)
 Constructor.
 
virtual ~MbVar ()
 Destructor.
 
const c3d::string_t & Name () const
 Get variable name.
 
double Value () const
 A value of variable.
 
void Assignment (double value)
 Assign a value to a variable.
 
- Public Member Functions inherited from MbRefItem
virtual MbeRefType RefType () const
 Registration type (for copying, duplication).
 
void AddRegistrator (MbRegDuplicate *reg) const
 Add the register.
 
void RemoveRegistrator (MbRegDuplicate *reg) const
 Remove the register.
 
refcount_t GetUseCount () const
 Get count of references (get count of owners of an object).
 
refcount_t AddRef () const
 Increase count of references by one.
 
refcount_t DecRef () const
 Decrease count of references by one.
 
refcount_t Release () const
 Decrease count of references by one and if count of references became zero, then remove itself.
 

Additional Inherited Members

- Protected Member Functions inherited from MbRefItem
 MbRefItem ()
 Constructor without parameters.
 

Detailed Description

String variable.

String variable.


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