Variable.hpp (line 21)
Provide a class for a System Coupling variable.
Members
- addIntegerAttribute
- addRealAttribute
- addStringAttribute
- getDataType
- getDisplayName
- getIntegerAttribute
- getIsExtensive
- getLocation
- getName
- getNumIntegerAttributes
- getNumRealAttributes
- getNumStringAttributes
- getQuantityType
- getRealAttribute
- getStringAttribute
- getTensorType
- m_dataType
- m_displayName
- m_integerAttributes
- m_isExtensive
- m_location
- m_name
- m_quantityType
- m_realAttributes
- m_stringAttributes
- m_tensorType
- Variable
- Variable
- Variable
- Variable
- Variable
- Variable
Private attributes
Variable m_name
Variable.hpp (line 236)
Variable m_quantityType
Variable.hpp (line 237)
Variable m_location
Variable.hpp (line 238)
Variable m_displayName
Variable.hpp (line 239)
Variable m_tensorType
Variable.hpp (line 240)
Variable m_isExtensive
Variable.hpp (line 241)
Variable m_dataType
Variable.hpp (line 242)
Variable m_realAttributes
Variable.hpp (line 244)
Variable m_integerAttributes
Variable.hpp (line 245)
Variable m_stringAttributes
Variable.hpp (line 246)
Public functions
Function Variable
- name: Unique name for this variable.
- const VariableName & name
Function Variable
- name: - Unique name for this variable. String length should not exceed SYSC_STRING_LENGTH.
- tensorType: - variable tensor type.
- isExtensive: - flag indicating if it’s an extensive property.
- location: - variable location (e.g element or node).
- const VariableName & name
- enum TensorType tensorType
- bool isExtensive
- enum Location location
Function Variable
- name: - Unique name for this variable. String length should not exceed SYSC_STRING_LENGTH.
- tensorType: - variable tensor type.
- isExtensive: - flag indicating if it’s an extensive property.
- location: - variable location (e.g element or node).
- dataType: - dataType
- const VariableName & name
- enum TensorType tensorType
- bool isExtensive
- enum Location location
- enum DataType dataType
Function Variable
- name: - Unique name for this variable.
- displayName: - variable display name.
- tensorType: - variable tensor type.
- isExtensive: - flag indicating if it’s an extensive property.
- location: - variable location (e.g element or node).
- quantityType: - Quantity type of this variable.
- const VariableName & name
- const DisplayName & displayName
- enum TensorType tensorType
- bool isExtensive
- enum Location location
- enum QuantityType quantityType
Function Variable
- name: - Unique name for this variable.
- displayName: - variable display name.
- tensorType: - variable tensor type.
- isExtensive: - flag indicating if it’s an extensive property.
- location: - variable location (e.g element or node).
- quantityType: - Quantity type of this variable.
- dataType: - Data type of this variable.
- const VariableName & name
- const DisplayName & displayName
- enum TensorType tensorType
- bool isExtensive
- enum Location location
- enum QuantityType quantityType
- enum DataType dataType
Function Variable
- name: - Unique name for this variable.
- quantityType: - Quantity type of this variable. Supported quantity types are defined above in this header file.
- location: - variable location (e.g element or node). This parameter is optional - the default value is node.
- displayName: - variable display name. This parameter is optional - it will default to the same value as the variable’s name.
- const VariableName & name
- enum QuantityType quantityType
- enum Location location = Node
- const DisplayName & displayName = DisplayName()
Function getName
Function getTensorType
Function getIsExtensive
Function getQuantityType
Function getLocation
Function getDisplayName
Function getDataType
Function addRealAttribute
- const RealAttribute & attribute
Function addIntegerAttribute
- const IntegerAttribute & attribute
Function addStringAttribute
- const StringAttribute & attribute
Function getNumRealAttributes
Function getNumIntegerAttributes
Function getNumStringAttributes
Function getRealAttribute
- std::size_t index
Function getIntegerAttribute
- std::size_t index
Function getStringAttribute
- std::size_t index