This immutable class contains information about variable or function parameter.
More...
#include <CDataController.h>
|
| | CVariable () |
| | CVariable (const std::string &name, const std::string &qualifiedName, const std::string &type, uint64_t arrayDimension, uint64_t size, iEclipse::IVariable::EType enumType, const std::string &scope, uint64_t address) |
| | Instantiates object.
|
| | CVariable (const std::string &name, const std::string &qualifiedName, const std::string &type, uint64_t size, iEclipse::IVariable::EType enumType) |
| | Instantiates object.
|
| int64_t | getArrayDimension () |
| | Returns array dimension if variable is of type array.
|
| std::string | getName () |
| | Returns variable name.
|
| int64_t | getNumBytes () |
| | Returns size in bytes.
|
| std::string | getQualifiedName () |
| | Return qualified variable name.
|
| std::string | getScope () |
| | Returns scope, for example class name.
|
| int64_t | getSize () |
| | Returns size in bytes.
|
| std::string | getType () |
| | Returns variable type as string.
|
| iEclipse::IVariable::EType | getTypeAsEnum () |
| | Returns variable type as enum value.
|
This immutable class contains information about variable or function parameter.
◆ CVariable() [1/3]
| isys::CVariable::CVariable |
( |
| ) |
|
|
inline |
◆ CVariable() [2/3]
| isys::CVariable::CVariable |
( |
const std::string & | name, |
|
|
const std::string & | qualifiedName, |
|
|
const std::string & | type, |
|
|
uint64_t | size, |
|
|
iEclipse::IVariable::EType | enumType ) |
|
inline |
Instantiates object.
Constructor is not intended to be used by clients.
- Since
- 9.12.288
◆ CVariable() [3/3]
| isys::CVariable::CVariable |
( |
const std::string & | name, |
|
|
const std::string & | qualifiedName, |
|
|
const std::string & | type, |
|
|
uint64_t | arrayDimension, |
|
|
uint64_t | size, |
|
|
iEclipse::IVariable::EType | enumType, |
|
|
const std::string & | scope, |
|
|
uint64_t | address ) |
|
inline |
Instantiates object.
Constructor is not intended to be used by clients.
- Since
- 9.12.288
◆ getArrayDimension()
| int64_t isys::CVariable::getArrayDimension |
( |
| ) |
|
|
inline |
Returns array dimension if variable is of type array.
- Since
- 9.12.288
◆ getName()
| std::string isys::CVariable::getName |
( |
| ) |
|
|
inline |
Returns variable name.
- Since
- 9.12.288
◆ getNumBytes()
| int64_t isys::CVariable::getNumBytes |
( |
| ) |
|
|
inline |
Returns size in bytes.
Deprecated, use getSize() instead.
- Since
- 9.12.288
◆ getQualifiedName()
| std::string isys::CVariable::getQualifiedName |
( |
| ) |
|
|
inline |
Return qualified variable name.
- Since
- 9.12.288
◆ getScope()
| std::string isys::CVariable::getScope |
( |
| ) |
|
|
inline |
Returns scope, for example class name.
- Since
- 9.12.288
◆ getSize()
| int64_t isys::CVariable::getSize |
( |
| ) |
|
|
inline |
Returns size in bytes.
- Since
- 9.12.288
◆ getType()
| std::string isys::CVariable::getType |
( |
| ) |
|
|
inline |
Returns variable type as string.
- Since
- 9.12.288
◆ getTypeAsEnum()
| iEclipse::IVariable::EType isys::CVariable::getTypeAsEnum |
( |
| ) |
|
|
inline |
Returns variable type as enum value.
- Since
- 9.12.288