Info Map for the datamodel to hold a set of optional IInfo instances. Only one instance of one Info type is possible.
More...
#include <infomodel_base.h>
Inherited by ddl::dd::datamodel::BaseUnit, ddl::dd::datamodel::DataDefinition, ddl::dd::datamodel::DataType, ddl::dd::datamodel::EnumType, ddl::dd::datamodel::Header, ddl::dd::datamodel::KeyValuePair, ddl::dd::datamodel::Stream, ddl::dd::datamodel::Stream::Struct, ddl::dd::datamodel::StreamMetaType, ddl::dd::datamodel::StructType, ddl::dd::datamodel::StructType::Element, ddl::dd::datamodel::Unit, ddl::dd::datamodel::UnitPrefix, ddl::mapping::datamodel::Assignment, ddl::mapping::datamodel::Function, ddl::mapping::datamodel::Header, ddl::mapping::datamodel::MappingConfiguration, ddl::mapping::datamodel::ParameterValue, ddl::mapping::datamodel::Property, ddl::mapping::datamodel::Source, ddl::mapping::datamodel::Target, and ddl::mapping::datamodel::Trigger.
Info Map for the datamodel to hold a set of optional IInfo instances. Only one instance of one Info type is possible.
◆ InfoMap() [1/2]
| ddl::dd::datamodel::InfoMap::InfoMap |
( |
const InfoMap & | | ) |
|
|
inline |
◆ InfoMap() [2/2]
| ddl::dd::datamodel::InfoMap::InfoMap |
( |
InfoMap && | | ) |
|
|
inline |
◆ getInfo() [1/2]
template<typename INFO_T>
| INFO_T * ddl::dd::datamodel::InfoMap::getInfo |
( |
| ) |
|
|
inline |
Get the Info Pointer.
- Template Parameters
-
| INFO_T | The Info type class type to retrieve. |
- Returns
- INFO_T*
◆ getInfo() [2/2]
template<typename INFO_T>
| const INFO_T * ddl::dd::datamodel::InfoMap::getInfo |
( |
| ) |
const |
|
inline |
Get the Info Pointer.
- Template Parameters
-
| INFO_T | The Info type class type to retrieve. |
- Returns
- const INFO_T*
◆ operator=() [1/2]
copy assignment operator
- Returns
- InfoMap&
◆ operator=() [2/2]
move assignment operator
- Returns
- InfoMap&
◆ setInfo()
template<typename INFO_T>
| void ddl::dd::datamodel::InfoMap::setInfo |
( |
const std::shared_ptr< INFO_T > & | info | ) |
|
|
inline |
Set the Info object as shared pointer.
- Template Parameters
-
| INFO_T | The Info type class type to set. |
- Parameters
-
| info | the info pointer to set. |
- Exceptions
-
The documentation for this class was generated from the following file: