Information characterizing a variable. More...
#include <arcane/core/VariableInfo.h>
Public Member Functions | |
| VariableInfo (const String &local_name, const String &item_family_name, const String &item_group_name, const String &mesh_name, eItemKind item_kind, Integer dimension, Integer multi_tag, eDataType type) | |
| VariableInfo (const String &local_name, const String &item_family_name, const String &item_group_name, const String &mesh_name, const VariableTypeInfo &var_type_info, const DataStorageTypeInfo &storage_info) | |
| const String & | localName () const |
| Name of the variable. | |
| const String & | itemFamilyName () const |
| Name of the entity family to which the variable is associated. | |
| const String & | itemGroupName () const |
| Name of the entity group to which the variable is associated. | |
| const String & | meshName () const |
| Name of the mesh to which the variable is associated. | |
| const String & | fullName () const |
| Full name of the variable (associated with the family). | |
| eItemKind | itemKind () const |
| Mesh entity type. | |
| Integer | dimension () const |
| Dimension. | |
| Integer | multiTag () const |
| Multi-tag. | |
| eDataType | dataType () const |
| Element type. | |
| bool | isPartial () const |
| Indicates if the variable is partial. | |
| void | setDefaultItemGroupName () |
| If null, changes itemGroupName() to the name of the group of all entities in the family. | |
| VariableTypeInfo | variableTypeInfo () const |
| Information about the variable type. | |
| DataStorageTypeInfo | storageTypeInfo () const |
| Information about the variable container type. | |
Static Public Member Functions | |
| static DataStorageTypeInfo | _internalGetStorageTypeInfo (eDataType data_type, Integer dimension, Integer multi_tag) |
Private Member Functions | |
| String | _defaultFamilyName () |
| void | _computeFullName () const |
| Calculates the full name of the variable. | |
Private Attributes | |
| String | m_local_name |
| Name of the variable. | |
| String | m_item_family_name |
| Name of the entity family to which the variable is associated. | |
| String | m_item_group_name |
| Name of the entity group to which the variable is associated. | |
| String | m_mesh_name |
| Name of the mesh to which the variable is associated. | |
| String | m_full_name |
| Full name of the variable (associated with the family). | |
| VariableTypeInfo | m_variable_type_info |
| Information about the variable type. | |
| DataStorageTypeInfo | m_storage_type_info |
| Information about the variable data container. | |
Information characterizing a variable.
Definition at line 37 of file VariableInfo.h.
| Arcane::VariableInfo::VariableInfo | ( | const String & | local_name, |
| const String & | item_family_name, | ||
| const String & | item_group_name, | ||
| const String & | mesh_name, | ||
| eItemKind | item_kind, | ||
| Integer | dimension, | ||
| Integer | multi_tag, | ||
| eDataType | type ) |
Definition at line 103 of file VariableInfo.cc.
| Arcane::VariableInfo::VariableInfo | ( | const String & | local_name, |
| const String & | item_family_name, | ||
| const String & | item_group_name, | ||
| const String & | mesh_name, | ||
| const VariableTypeInfo & | var_type_info, | ||
| const DataStorageTypeInfo & | storage_info ) |
Definition at line 117 of file VariableInfo.cc.
|
private |
Calculates the full name of the variable.
This name requires concatenating strings and therefore making allocations which can be costly. The name is only calculated if fullName() is explicitly requested.
Definition at line 180 of file VariableInfo.cc.
References m_full_name, m_item_family_name, m_local_name, m_mesh_name, and Arcane::StringBuilder::toString().
Referenced by fullName().
|
private |
Definition at line 143 of file VariableInfo.cc.
|
static |
Definition at line 27 of file VariableInfo.cc.
|
inline |
Element type.
Definition at line 77 of file VariableInfo.h.
References m_variable_type_info.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Dimension.
Definition at line 73 of file VariableInfo.h.
References m_variable_type_info.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Full name of the variable (associated with the family).
Definition at line 64 of file VariableInfo.h.
References _computeFullName(), and m_full_name.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Indicates if the variable is partial.
Definition at line 79 of file VariableInfo.h.
References m_variable_type_info.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Name of the entity family to which the variable is associated.
Definition at line 58 of file VariableInfo.h.
References m_item_family_name.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Name of the entity group to which the variable is associated.
Definition at line 60 of file VariableInfo.h.
References m_item_group_name.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Mesh entity type.
Definition at line 71 of file VariableInfo.h.
References m_variable_type_info.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Name of the variable.
Definition at line 56 of file VariableInfo.h.
References m_local_name.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
Name of the mesh to which the variable is associated.
Definition at line 62 of file VariableInfo.h.
References m_mesh_name.
Referenced by Arcane::VariableMng::checkVariable().
|
inline |
| void Arcane::VariableInfo::setDefaultItemGroupName | ( | ) |
If null, changes itemGroupName() to the name of the group of all entities in the family.
Definition at line 206 of file VariableInfo.cc.
References m_item_family_name, and m_item_group_name.
|
inline |
Information about the variable container type.
Definition at line 90 of file VariableInfo.h.
References m_storage_type_info.
|
inline |
Information about the variable type.
Definition at line 88 of file VariableInfo.h.
References m_variable_type_info.
|
mutableprivate |
Full name of the variable (associated with the family).
Definition at line 108 of file VariableInfo.h.
Referenced by _computeFullName(), and fullName().
|
private |
Name of the entity family to which the variable is associated.
Definition at line 102 of file VariableInfo.h.
Referenced by _computeFullName(), itemFamilyName(), and setDefaultItemGroupName().
|
private |
Name of the entity group to which the variable is associated.
Definition at line 104 of file VariableInfo.h.
Referenced by itemGroupName(), and setDefaultItemGroupName().
|
private |
Name of the variable.
Definition at line 100 of file VariableInfo.h.
Referenced by _computeFullName(), and localName().
|
private |
Name of the mesh to which the variable is associated.
Definition at line 106 of file VariableInfo.h.
Referenced by _computeFullName(), and meshName().
|
private |
Information about the variable data container.
Definition at line 112 of file VariableInfo.h.
Referenced by storageTypeInfo().
|
private |
Information about the variable type.
Definition at line 110 of file VariableInfo.h.
Referenced by dataType(), dimension(), isPartial(), itemKind(), multiTag(), and variableTypeInfo().