A DataType class holding the DD for a Datatype with dependencies.
More...
|
| DDDataType ()=delete |
| no default CTOR
|
|
| DDDataType (const DDDataType &) |
| copy CTOR
|
|
| DDDataType (DDDataType &&) |
| move CTOR
|
|
DDDataType & | operator= (const DDDataType &) |
| copy assignment operator More...
|
|
DDDataType & | operator= (DDDataType &&) |
| move assignment operator More...
|
|
| DDDataType (const std::string &name, size_t bit_size, const std::string &description={}, dd::OptionalSize array_size={}, const std::string &minimum_value={}, const std::string &maximum_value={}, dd::OptionalSize default_type_alignment={}) |
| CTOR. More...
|
|
| DDDataType (const std::string &name, size_t bit_size, const std::string &description, dd::OptionalSize array_size, const std::string &minimum_value, const std::string &maximum_value, dd::OptionalSize default_type_alignment, const DDUnit &unit) |
| CTOR. More...
|
|
| DDDataType (const std::string &name, size_t bit_size, const std::string &description, dd::OptionalSize array_size, const std::string &minimum_value, const std::string &maximum_value, dd::OptionalSize default_type_alignment, const dd::BaseUnit &base_unit) |
| CTOR. More...
|
|
const dd::DataType & | getDataType () const |
| Get the Data Type object. More...
|
|
const dd::DataDefinition & | getDD () const |
| Get the DataDefinition. More...
|
|
A DataType class holding the DD for a Datatype with dependencies.
(i.e. Units!)
Definition at line 30 of file dddatatype.h.
◆ DDDataType() [1/3]
DDDataType |
( |
const std::string & |
name, |
|
|
size_t |
bit_size, |
|
|
const std::string & |
description = {} , |
|
|
dd::OptionalSize |
array_size = {} , |
|
|
const std::string & |
minimum_value = {} , |
|
|
const std::string & |
maximum_value = {} , |
|
|
dd::OptionalSize |
default_type_alignment = {} |
|
) |
| |
CTOR.
- Parameters
-
name | the name of the POD Type |
bit_size | the bit size of the type |
description | the description of the type |
array_size | the array size of the type (please use only 1! codec API does not support greater than 1 here!) |
minimum_value | the minimum value (for information only) |
maximum_value | the maximum value (for information only) |
default_type_alignment | Type alignment (this is optional, because it is not part of the DD, but important for automatic calculation of member positions). |
◆ DDDataType() [2/3]
DDDataType |
( |
const std::string & |
name, |
|
|
size_t |
bit_size, |
|
|
const std::string & |
description, |
|
|
dd::OptionalSize |
array_size, |
|
|
const std::string & |
minimum_value, |
|
|
const std::string & |
maximum_value, |
|
|
dd::OptionalSize |
default_type_alignment, |
|
|
const DDUnit & |
unit |
|
) |
| |
CTOR.
- Parameters
-
name | the name of the POD Type |
bit_size | the bit size of the type |
description | the description of the type |
array_size | the array size of the type (please use only 1! codec API does not support greater than 1 here!) |
minimum_value | the minimum value (for information only) |
maximum_value | the maximum value (for information only) |
unit | the unit to use for this type |
default_type_alignment | Type alignment (this is optional, because it is not part of the DD, but important for automatic calculation of member positions) |
◆ DDDataType() [3/3]
CTOR.
- Parameters
-
name | the name of the POD Type |
bit_size | the bit size of the type |
description | the description of the type |
array_size | the array size of the type (please use only 1! codec API does not support greater than 1 here!) |
minimum_value | the minimum value (for information only) |
maximum_value | the maximum value (for information only) |
base_unit | the base_unit to use for this type |
default_type_alignment | Type alignment (this is optional, because it is not part of the DD, but important for automatic calculation of member positions) |
◆ getDataType()
◆ getDD()
◆ operator=() [1/2]
◆ operator=() [2/2]