#include <Type.hh>
Type of a Value in the Altarica Model
Definition at line 47 of file Type.hh.
◆ ArrayFields
◆ ConstReference
◆ Exception
◆ Reference
◆ StructureFields
◆ Template
Enumerator |
---|
NullTemplate | |
BoolType | |
IntType | |
IdentType | |
StructType | |
ArrayType | |
Definition at line 57 of file Type.hh.
◆ Type() [1/4]
Diades::Altarica::Type::Type |
( |
const string & |
label, |
|
|
unsigned |
code, |
|
|
TypeFactory & |
factory |
|
) |
| |
|
private |
◆ Type() [2/4]
Diades::Altarica::Type::Type |
( |
const string & |
label, |
|
|
const ArrayFields & |
fields, |
|
|
unsigned |
code, |
|
|
TypeFactory & |
factory |
|
) |
| |
|
private |
◆ Type() [3/4]
◆ Type() [4/4]
Default constructor
Definition at line 84 of file Type.hh.
◆ ~Type()
Diades::Altarica::Type::~Type |
( |
| ) |
|
|
inline |
Destructor
Definition at line 90 of file Type.hh.
◆ isArray()
bool Diades::Altarica::Type::isArray |
( |
| ) |
const |
|
inline |
◆ isBasic()
bool Diades::Altarica::Type::isBasic |
( |
| ) |
const |
|
inline |
◆ isBoolean()
bool Diades::Altarica::Type::isBoolean |
( |
| ) |
const |
|
inline |
◆ isComposed()
bool Diades::Altarica::Type::isComposed |
( |
| ) |
const |
|
inline |
◆ isIdentifier()
bool Diades::Altarica::Type::isIdentifier |
( |
| ) |
const |
|
inline |
◆ isInteger()
bool Diades::Altarica::Type::isInteger |
( |
| ) |
const |
|
inline |
◆ isNull()
bool Diades::Altarica::Type::isNull |
( |
| ) |
const |
◆ isStructure()
bool Diades::Altarica::Type::isStructure |
( |
| ) |
const |
|
inline |
◆ label()
const string& Diades::Altarica::Type::label |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool Diades::Altarica::Type::operator!= |
( |
const Type & |
type | ) |
const |
|
inline |
Difference operator
- Parameters
-
- Returns
- true if both types are the same
Definition at line 105 of file Type.hh.
◆ operator<()
bool Diades::Altarica::Type::operator< |
( |
const Type & |
type | ) |
const |
Comparision operator
- Parameters
-
- Returns
- true the current type is smaller than type. The defined order is machine independent but has no semantics.
◆ operator==()
bool Diades::Altarica::Type::operator== |
( |
const Type & |
type | ) |
const |
|
inline |
Equality operator (reference)
- Parameters
-
- Returns
- true if both types are the same
Definition at line 97 of file Type.hh.
◆ owner()
◆ typeName()
static string Diades::Altarica::Type::typeName |
( |
| ) |
|
|
inlinestatic |
◆ typeTemplate()
Template Diades::Altarica::Type::typeTemplate |
( |
| ) |
const |
|
inline |
◆ operator<<
ostream& operator<< |
( |
ostream & |
os, |
|
|
const Type & |
type |
|
) |
| |
|
friend |
◆ TypeFactory
◆ _array
◆ _code
unsigned Diades::Altarica::Type::_code |
|
private |
◆ _factory
◆ _internalLabel
string Diades::Altarica::Type::_internalLabel |
|
private |
◆ _structure
◆ _template
Template Diades::Altarica::Type::_template |
|
private |
◆ notAltaricaType
string Diades::Altarica::Type::notAltaricaType |
|
staticprivate |
The documentation for this class was generated from the following file: