Datamodel header class This class is observable.
More...
#include <datamodel_configuration_items.h>
Inherits ModelSubject< Header >, and ddl::dd::datamodel::InfoMap.
Datamodel header class This class is observable.
◆ Header() [1/3]
| ddl::mapping::datamodel::Header::Header |
( |
const Header & | other | ) |
|
◆ Header() [2/3]
| ddl::mapping::datamodel::Header::Header |
( |
Header && | other | ) |
|
◆ Header() [3/3]
| ddl::mapping::datamodel::Header::Header |
( |
const Version & | mapping_version, |
|
|
const std::string & | author = {}, |
|
|
const std::string & | date_creation = {}, |
|
|
const std::string & | date_change = {}, |
|
|
const std::string & | description = {} ) |
CTOR.
- Parameters
-
| mapping_version | the mapping version |
| author | the author |
| date_creation | the date of creation |
| date_change | the date of change |
| description | the description of the mapping configuration |
◆ getAuthor()
| const std::string & ddl::mapping::datamodel::Header::getAuthor |
( |
| ) |
const |
Get the author.
- Returns
- const std::string&
◆ getDateChange()
| const std::string & ddl::mapping::datamodel::Header::getDateChange |
( |
| ) |
const |
Get the date of last change.
- Returns
- const std::string&
◆ getDateCreation()
| const std::string & ddl::mapping::datamodel::Header::getDateCreation |
( |
| ) |
const |
Get the date of creation.
- Returns
- const std::string&
◆ getDescription()
| const std::string & ddl::mapping::datamodel::Header::getDescription |
( |
| ) |
const |
Get the description.
- Returns
- const std::string&
◆ getMappingVersion()
| Version ddl::mapping::datamodel::Header::getMappingVersion |
( |
| ) |
const |
Get the mapping version.
- Returns
- Version
◆ operator!=()
| bool ddl::mapping::datamodel::Header::operator!= |
( |
const Header & | other | ) |
const |
inequality operator
- Parameters
-
| other | the other header to compare |
- Returns
- true is not equal
-
false is equal
◆ operator=() [1/2]
| Header & ddl::mapping::datamodel::Header::operator= |
( |
const Header & | other | ) |
|
copy operator
- Parameters
-
- Returns
- Header& the header
◆ operator=() [2/2]
| Header & ddl::mapping::datamodel::Header::operator= |
( |
Header && | other | ) |
|
move operator
- Parameters
-
- Returns
- Header& the header
◆ operator==()
| bool ddl::mapping::datamodel::Header::operator== |
( |
const Header & | other | ) |
const |
equality operator (the header must have exacly the same content)
- Parameters
-
| other | the other header to compare |
- Returns
- true is equal
-
false is not equal
◆ setAuthor()
| void ddl::mapping::datamodel::Header::setAuthor |
( |
const std::string & | author | ) |
|
Set the author.
- Parameters
-
◆ setDateChange()
| void ddl::mapping::datamodel::Header::setDateChange |
( |
const std::string & | date_change | ) |
|
Set the date of last change.
- Parameters
-
| date_change | the date of last change |
◆ setDateCreation()
| void ddl::mapping::datamodel::Header::setDateCreation |
( |
const std::string & | date_creation | ) |
|
Set the date of creation.
- Parameters
-
| date_creation | the date of creation. |
◆ setDescription()
| void ddl::mapping::datamodel::Header::setDescription |
( |
const std::string & | description | ) |
|
Set the description.
- Parameters
-
| description | the description |
◆ setMappingVersion()
| void ddl::mapping::datamodel::Header::setMappingVersion |
( |
const Version & | mapping_version | ) |
|
Set the mapping version.
- Parameters
-
| mapping_version | The mapping file version |
The documentation for this class was generated from the following file: