Base class for polymorphic types.
More...
#include <arcane/core/datatype/VariantBase.h>
|
| enum | eType {
TReal = 0
, TInt32 = 1
, TInt64 = 2
, TBool = 3
,
TString = 4
, TReal2 = 5
, TReal3 = 6
, TReal2x2 = 7
,
TReal3x3 = 8
, TUnknown = 9
} |
Base class for polymorphic types.
Definition at line 33 of file VariantBase.h.
◆ eType
| enum Arcane::VariantBase::eType |
◆ VariantBase()
| Arcane::VariantBase::VariantBase |
( |
Integer | dim, |
|
|
eType | atype ) |
|
inline |
◆ ~VariantBase()
| virtual Arcane::VariantBase::~VariantBase |
( |
| ) |
|
|
inlinevirtual |
◆ dimension()
| Integer Arcane::VariantBase::dimension |
( |
| ) |
const |
|
inline |
Variant dimension.
The possible values are as follows:
- 0 for a scalar.
- 1 for a mono-dimensional array or scalar variable of the mesh.
Definition at line 68 of file VariantBase.h.
References m_dim.
◆ fromDataType()
| VariantBase::eType Arcane::VariantBase::fromDataType |
( |
eDataType | type | ) |
|
|
static |
◆ type()
| eType Arcane::VariantBase::type |
( |
| ) |
const |
|
inline |
◆ typeName() [1/2]
| const char * Arcane::VariantBase::typeName |
( |
| ) |
const |
|
inline |
◆ typeName() [2/2]
| ARCANE_DATATYPE_EXPORT const char * Arcane::VariantBase::typeName |
( |
eType | type | ) |
|
|
static |
◆ m_dim
◆ m_type
| eType Arcane::VariantBase::m_type |
|
protected |
Guaranteed valid type of the value.
Definition at line 77 of file VariantBase.h.
The documentation for this class was generated from the following files: