ifw
0.0.1-dev
|
Data Interface Dictionary header class. More...
#include <Header.hpp>
Public Member Functions | |
Header () | |
Header (const ctd::file::Yaml &did) | |
Header constructor extracting the DID header files from DID loaded in buffer. More... | |
~Header () | |
void | Parse (const ctd::file::Yaml &did) |
Parse Parse/extract the fields of the DID header, contained in the string buffer. More... | |
std::string | GetName () const |
Return (file)name, from where the dictionary was loaded. More... | |
std::string | GetScope () const |
Return scope. More... | |
ctd::defines::IsoTime | GetCreationDate () const |
Return creation date (ISO8601). More... | |
std::string | GetVersion () const |
Return version (control string). More... | |
const ctd::defines::List < std::string > & | GetIncludes () const |
Return reference to list of include files. More... | |
std::string | GetDescription () const |
Return Description. More... | |
std::string | Print (DidHdrField fields=DID_HDR_FIELD_ALL, const bool compact=false) const |
Get string copy of one or more header fields. More... | |
Header () | |
Header (const ctd::file::Yaml &did) | |
Header constructor extracting the DID header files from DID loaded in buffer. More... | |
~Header () | |
void | Parse (const ctd::file::Yaml &did) |
Parse Parse/extract the fields of the DID header, contained in the string buffer. More... | |
std::string | GetName () const |
Return (file)name, from where the dictionary was loaded. More... | |
std::string | GetScope () const |
Return scope. More... | |
ctd::defines::IsoTime | GetCreationDate () const |
Return creation date (ISO8601). More... | |
std::string | GetVersion () const |
Return version (control string). More... | |
const ctd::defines::List < std::string > & | GetIncludes () const |
Return reference to list of include files. More... | |
std::string | GetDescription () const |
Return Description. More... | |
std::string | Print (DidHdrField fields=DID_HDR_FIELD_ALL, const bool compact=false) const |
Get string copy of one or more header fields. More... | |
Header () | |
Header (const ctd::file::Yaml &did) | |
Header constructor extracting the DID header files from DID loaded in buffer. More... | |
~Header () | |
void | Parse (const ctd::file::Yaml &did) |
Parse Parse/extract the fields of the DID header, contained in the string buffer. More... | |
std::string | GetName () const |
Return (file)name, from where the dictionary was loaded. More... | |
std::string | GetScope () const |
Return scope. More... | |
ctd::defines::IsoTime | GetCreationDate () const |
Return creation date (ISO8601). More... | |
std::string | GetVersion () const |
Return version (control string). More... | |
const ctd::defines::List < std::string > & | GetIncludes () const |
Return reference to list of include files. More... | |
std::string | GetDescription () const |
Return Description. More... | |
std::string | Print (DidHdrField fields=DID_HDR_FIELD_ALL, const bool compact=false) const |
Get string copy of one or more header fields. More... | |
Static Public Attributes | |
static const std::string | HEADER_TAG = "Header" |
static const std::string | DID_HDR_FIELD_NAME_STR = "Name" |
static const std::string | DID_HDR_FIELD_SCOPE_STR = "Scope" |
static const std::string | DID_HDR_FIELD_CRE_DATE_STR = "CreationDate" |
static const std::string | DID_HDR_FIELD_VERSION_STR = "Version" |
static const std::string | DID_HDR_FIELD_INCLUDE_STR = "Include" |
static const std::string | DID_HDR_FIELD_DESCRIPTION_STR = "Description" |
static const std::map < DidHdrField, std::string > | s_did_hdr_fields_nb_map |
static const std::map < std::string, DidHdrField > | s_did_hdr_fields_name_map |
Data Interface Dictionary header class.
Dictionary header field types.
Dictionary header field types.
Dictionary header field types.
dit::did::Header::Header | ( | ) |
|
explicit |
Header constructor extracting the DID header files from DID loaded in buffer.
did_buf | String buffer containing the DID. |
dit::did::Header::~Header | ( | ) |
dit::did::Header::Header | ( | ) |
|
explicit |
Header constructor extracting the DID header files from DID loaded in buffer.
did_buf | String buffer containing the DID. |
dit::did::Header::~Header | ( | ) |
dit::did::Header::Header | ( | ) |
|
explicit |
Header constructor extracting the DID header files from DID loaded in buffer.
did_buf | String buffer containing the DID. |
dit::did::Header::~Header | ( | ) |
ctd::defines::IsoTime dit::did::Header::GetCreationDate | ( | ) | const |
Return creation date (ISO8601).
ctd::defines::IsoTime dit::did::Header::GetCreationDate | ( | ) | const |
Return creation date (ISO8601).
ctd::defines::IsoTime dit::did::Header::GetCreationDate | ( | ) | const |
Return creation date (ISO8601).
std::string dit::did::Header::GetDescription | ( | ) | const |
Return Description.
std::string dit::did::Header::GetDescription | ( | ) | const |
Return Description.
std::string dit::did::Header::GetDescription | ( | ) | const |
Return Description.
const ctd::defines::List<std::string>& dit::did::Header::GetIncludes | ( | ) | const |
Return reference to list of include files.
const ctd::defines::List<std::string>& dit::did::Header::GetIncludes | ( | ) | const |
Return reference to list of include files.
const ctd::defines::List< std::string > & dit::did::Header::GetIncludes | ( | ) | const |
Return reference to list of include files.
std::string dit::did::Header::GetName | ( | ) | const |
Return (file)name, from where the dictionary was loaded.
std::string dit::did::Header::GetName | ( | ) | const |
Return (file)name, from where the dictionary was loaded.
std::string dit::did::Header::GetName | ( | ) | const |
Return (file)name, from where the dictionary was loaded.
std::string dit::did::Header::GetScope | ( | ) | const |
Return scope.
std::string dit::did::Header::GetScope | ( | ) | const |
Return scope.
std::string dit::did::Header::GetScope | ( | ) | const |
Return scope.
std::string dit::did::Header::GetVersion | ( | ) | const |
Return version (control string).
std::string dit::did::Header::GetVersion | ( | ) | const |
Return version (control string).
std::string dit::did::Header::GetVersion | ( | ) | const |
Return version (control string).
void dit::did::Header::Parse | ( | const ctd::file::Yaml & | did | ) |
Parse Parse/extract the fields of the DID header, contained in the string buffer.
did_buf |
void dit::did::Header::Parse | ( | const ctd::file::Yaml & | did | ) |
Parse Parse/extract the fields of the DID header, contained in the string buffer.
did_buf |
void dit::did::Header::Parse | ( | const ctd::file::Yaml & | did | ) |
Parse Parse/extract the fields of the DID header, contained in the string buffer.
did_buf |
std::string dit::did::Header::Print | ( | DidHdrField | fields = DID_HDR_FIELD_ALL , |
const bool | compact = false |
||
) | const |
Get string copy of one or more header fields.
fields | Header fields to return. |
std::string dit::did::Header::Print | ( | DidHdrField | fields = DID_HDR_FIELD_ALL , |
const bool | compact = false |
||
) | const |
Get string copy of one or more header fields.
fields | Header fields to return. |
std::string dit::did::Header::Print | ( | DidHdrField | fields = DID_HDR_FIELD_ALL , |
const bool | compact = false |
||
) | const |
Get string copy of one or more header fields.
fields | Header fields to return. |
|
static |
|
static |
|
static |