|
ifw-core
5.0.0-pre2
|
Classes | |
| class | Did |
| Data Interface Dictionary class. More... | |
| class | Header |
| Data Interface Dictionary header class. More... | |
| class | FormatSpecifier |
| class to handle the format specifier of a DID record. Format is: %[parameter][flags][width][.precision][length]type More... | |
| class | Record |
| Data Interface Dictionary keyword record class. More... | |
Enumerations | |
| enum class | HdrField { NAME = 1 , SCOPE = 2 , DESCRIPTION = 4 , ALL = (NAME | SCOPE | DESCRIPTION) } |
| Dictionary header field types. More... | |
| enum class | DataType { BOOL = 1 , DOUBLE = 2 , INTEGER = 4 , STRING = 8 , ALL = (BOOL | DOUBLE | INTEGER | STRING) } |
| Dictionary data types. More... | |
| enum class | RecField { FORMAT = 1 , UNIT = 2 , COMMENT = 4 , DESCRIPTION = 8 , TYPE = 128 , ALL = (FORMAT | UNIT | COMMENT | DESCRIPTION | TYPE) } |
| Dictionary keyword record field types. More... | |
| enum | HdrSpec { NONE = 0 , FIRST , LAST , ALL , ALL = (NAME | SCOPE | DESCRIPTION) , ALL = (BOOL | DOUBLE | INTEGER | STRING) , ALL = (FORMAT | UNIT | COMMENT | DESCRIPTION | TYPE) } |
| Used to refer to which header(s) to address. More... | |
Functions | |
| log4cplus::Logger & | Logger () |
| DataType | DataTypeToNum (const std::string &type) |
| Map type from string to numeric representation. More... | |
| std::string | DataTypeToStr (const DataType type) |
| Map type from numeric to string representation. More... | |
| std::string | RecFieldToStr (const RecField field) |
| Map record field from numeric to string representation. More... | |
| RecField | RecFieldToNum (const std::string &field) |
| Map record field from string to numeric representation. More... | |
| std::ostream & | operator<< (std::ostream &os, const Did &did) |
Variables | |
| const std::string | DID_SCHEMA_INCLUDE = "!cfg.include schema/core/dit/did/did.schema.yaml" |
| const std::string | HDR_TAG = "header" |
| const std::string | HDR_FIELD_NAME = "name" |
| const std::string | HDR_FIELD_SCOPE = "scope" |
| const std::string | HDR_FIELD_DESCRIPTION = "description" |
| const std::map< HdrField, std::string > | HDR_FIELDS_NB_MAP |
| const std::map< std::string, HdrField > | HDR_FIELDS_NAME_MAP |
| const std::string | REC_TYPE_BOOL = "DidBoolKey" |
| const std::string | REC_TYPE_DOUBLE = "DidDblKey" |
| const std::string | REC_TYPE_INTEGER = "DidIntKey" |
| const std::string | REC_TYPE_STRING = "DidStrKey" |
| const std::string | REC_FIELD_FORMAT = "format" |
| const std::string | REC_FIELD_UNIT = "unit" |
| const std::string | REC_FIELD_COMMENT = "comment" |
| const std::string | REC_FIELD_DESCRIPTION = "description" |
| const std::string | REC_FIELD_TYPE = "type" |
|
strong |
|
strong |
|
strong |
| DataType core::dit::did::DataTypeToNum | ( | const std::string & | type | ) |
Map type from string to numeric representation.
| std::string core::dit::did::DataTypeToStr | ( | const DataType | type | ) |
Map type from numeric to string representation.
| log4cplus::Logger & core::dit::did::Logger | ( | ) |
| std::ostream& core::dit::did::operator<< | ( | std::ostream & | os, |
| const Did & | did | ||
| ) |
| RecField core::dit::did::RecFieldToNum | ( | const std::string & | field | ) |
Map record field from string to numeric representation.
| std::string core::dit::did::RecFieldToStr | ( | const RecField | field | ) |
Map record field from numeric to string representation.
| const std::string core::dit::did::DID_SCHEMA_INCLUDE = "!cfg.include schema/core/dit/did/did.schema.yaml" |
| const std::string core::dit::did::HDR_FIELD_DESCRIPTION = "description" |
| const std::string core::dit::did::HDR_FIELD_NAME = "name" |
| const std::string core::dit::did::HDR_FIELD_SCOPE = "scope" |
| const std::map<std::string, HdrField> core::dit::did::HDR_FIELDS_NAME_MAP |
| const std::map<HdrField, std::string> core::dit::did::HDR_FIELDS_NB_MAP |
| const std::string core::dit::did::HDR_TAG = "header" |
| const std::string core::dit::did::REC_FIELD_COMMENT = "comment" |
| const std::string core::dit::did::REC_FIELD_DESCRIPTION = "description" |
| const std::string core::dit::did::REC_FIELD_FORMAT = "format" |
| const std::string core::dit::did::REC_FIELD_TYPE = "type" |
| const std::string core::dit::did::REC_FIELD_UNIT = "unit" |
| const std::string core::dit::did::REC_TYPE_BOOL = "DidBoolKey" |
| const std::string core::dit::did::REC_TYPE_DOUBLE = "DidDblKey" |
| const std::string core::dit::did::REC_TYPE_INTEGER = "DidIntKey" |
| const std::string core::dit::did::REC_TYPE_STRING = "DidStrKey" |