|
enum | DidRecField {
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL,
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL,
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL
} |
| Dictionary keyword record field types. More...
|
|
enum | DidRecField {
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL,
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL,
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL
} |
| Dictionary keyword record field types. More...
|
|
enum | DidRecField {
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL,
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL,
DID_REC_FIELD_CLASS = 2,
DID_REC_FIELD_TYPE = 4,
DID_REC_FIELD_FORMAT = 8,
DID_REC_FIELD_DEFAULT = 16,
DID_REC_FIELD_UNIT = 32,
DID_REC_FIELD_RANGE = 64,
DID_REC_FIELD_COMMENT = 128,
DID_REC_FIELD_TAGS = 256,
DID_REC_FIELD_DESCRIPTION = 512,
DID_REC_FIELD_ALL
} |
| Dictionary keyword record field types. More...
|
|
|
| Record () |
|
| Record (const std::string &key_name, const ctd::file::Yaml &did) |
| Set fields of the object from the keyword record contained in a string buffer. More...
|
|
| Record (const Record &source) |
|
| ~Record () |
|
void | Parse (const std::string &key_name, const ctd::file::Yaml &did) |
| Parse Parse/extract the fields of a keyword record from a Yaml object. More...
|
|
const std::string & | GetName () const |
| Return name of the keyword record. More...
|
|
const ctd::defines::List
< std::string > & | GetClasses () const |
| Get list of classes defined for the record. More...
|
|
ctd::defines::DataType | GetDataType () const |
| Return data type defined for the keyword. More...
|
|
const std::string & | GetFormat () const |
| Return the output format defined for the keyword. More...
|
|
template<class TYPE > |
TYPE | GetDefaultValue () const |
| Return the default value, if defined for the key. More...
|
|
const std::string & | GetUnit () const |
| Return the unit, if defined for the key. More...
|
|
const ctd::defines::List< Range > & | GetRanges () const |
| Get the valid ranges defined for the key. More...
|
|
const std::string & | GetComment () const |
| Get the comment defined. More...
|
|
const ctd::defines::List
< std::string > & | GetTags () const |
| Get list of the optional tags defined. More...
|
|
const std::string & | GetDescription () const |
| Get the description of the key. More...
|
|
std::string | Print (DidRecField fields=DID_REC_FIELD_ALL, const bool compact=false) const |
| Get string copy of one or more header fields. More...
|
|
Record & | operator= (const Record &source) |
| Copy operator. More...
|
|
| Record () |
|
| Record (const std::string &key_name, const ctd::file::Yaml &did) |
| Set fields of the object from the keyword record contained in a string buffer. More...
|
|
| Record (const Record &source) |
|
| ~Record () |
|
void | Parse (const std::string &key_name, const ctd::file::Yaml &did) |
| Parse Parse/extract the fields of a keyword record from a Yaml object. More...
|
|
const std::string & | GetName () const |
| Return name of the keyword record. More...
|
|
const ctd::defines::List
< std::string > & | GetClasses () const |
| Get list of classes defined for the record. More...
|
|
ctd::defines::DataType | GetDataType () const |
| Return data type defined for the keyword. More...
|
|
const std::string & | GetFormat () const |
| Return the output format defined for the keyword. More...
|
|
template<class TYPE > |
TYPE | GetDefaultValue () const |
| Return the default value, if defined for the key. More...
|
|
const std::string & | GetUnit () const |
| Return the unit, if defined for the key. More...
|
|
const ctd::defines::List< Range > & | GetRanges () const |
| Get the valid ranges defined for the key. More...
|
|
const std::string & | GetComment () const |
| Get the comment defined. More...
|
|
const ctd::defines::List
< std::string > & | GetTags () const |
| Get list of the optional tags defined. More...
|
|
const std::string & | GetDescription () const |
| Get the description of the key. More...
|
|
std::string | Print (DidRecField fields=DID_REC_FIELD_ALL, const bool compact=false) const |
| Get string copy of one or more header fields. More...
|
|
Record & | operator= (const Record &source) |
| Copy operator. More...
|
|
| Record () |
|
| Record (const std::string &key_name, const ctd::file::Yaml &did) |
| Set fields of the object from the keyword record contained in a string buffer. More...
|
|
| Record (const Record &source) |
|
| ~Record () |
|
void | Parse (const std::string &key_name, const ctd::file::Yaml &did) |
| Parse Parse/extract the fields of a keyword record from a Yaml object. More...
|
|
const std::string & | GetName () const |
| Return name of the keyword record. More...
|
|
const ctd::defines::List
< std::string > & | GetClasses () const |
| Get list of classes defined for the record. More...
|
|
ctd::defines::DataType | GetDataType () const |
| Return data type defined for the keyword. More...
|
|
const std::string & | GetFormat () const |
| Return the output format defined for the keyword. More...
|
|
template<class TYPE > |
TYPE | GetDefaultValue () const |
| Return the default value, if defined for the key. More...
|
|
const std::string & | GetUnit () const |
| Return the unit, if defined for the key. More...
|
|
const ctd::defines::List< Range > & | GetRanges () const |
| Get the valid ranges defined for the key. More...
|
|
const std::string & | GetComment () const |
| Get the comment defined. More...
|
|
const ctd::defines::List
< std::string > & | GetTags () const |
| Get list of the optional tags defined. More...
|
|
const std::string & | GetDescription () const |
| Get the description of the key. More...
|
|
std::string | Print (DidRecField fields=DID_REC_FIELD_ALL, const bool compact=false) const |
| Get string copy of one or more header fields. More...
|
|
Record & | operator= (const Record &source) |
| Copy operator. More...
|
|
Data Interface Dictionary keyword record class.