◆ Datatype_template() [1/2]
PDI::Datatype_template::Datatype_template |
( |
const Attributes_map & |
attributes = {} | ) |
|
Creates datatype template with given attributes.
- Parameters
-
attributes | attributes of datatype template |
◆ Datatype_template() [2/2]
PDI::Datatype_template::Datatype_template |
( |
PC_tree_t |
datatype_tree | ) |
|
Creates datatype template.
If attributes are defined in datatype_tree, they will be included in datatype template
- Parameters
-
datatype_tree | datatype tree |
◆ ~Datatype_template()
virtual PDI::Datatype_template::~Datatype_template |
( |
| ) |
|
|
virtual |
◆ clone()
◆ evaluate()
◆ attribute()
Expression PDI::Datatype_template::attribute |
( |
const std::string & |
attribute_name | ) |
const |
Returns attribute of given name as Expression.
- Parameters
-
attribute_key | attribute to get |
- Returns
- value of attribute as Expression
◆ attributes()
Returns all attributes as a unordered map.
- Returns
- all attributes as a unordered map
◆ load_basic_datatypes()
static void PDI::Datatype_template::load_basic_datatypes |
( |
Context & |
ctx | ) |
|
|
static |
Adds to the context the basic Array, Record, C and Fortran datatypes.
- Parameters
-
[in,out] | ctx | the context where to add the datatypes |
◆ load_user_datatypes()
static void PDI::Datatype_template::load_user_datatypes |
( |
Context & |
ctx, |
|
|
PC_tree_t |
types_tree |
|
) |
| |
|
static |
Adds to the context the user defined datatypes.
- Parameters
-
[in,out] | ctx | the context where to add the datatypes |
[in] | types_tree | with defined types |
◆ m_attributes
The documentation for this class was generated from the following file: