ADTF
|
Version conversion utility class. More...
Static Public Member Functions | |
static std::string | toString (const Version &version) |
Version to string conversion. More... | |
static Version | fromString (const std::string &version, const Version &default_val=Version(0, 0)) |
Creates the Version from a string. More... | |
Version conversion utility class.
Definition at line 354 of file dd_common_types.h.
|
static |
Creates the Version from a string.
version | the version as string to convert from |
default_val | if valid version is not found, this value is default |
Referenced by DDFromXMLFactory< DOM_NODE_TYPE >::createHeader(), MappingConfigurationFromXMLFactory< DomNodeType >::createHeader(), and DDFromXMLFactory< DOM_NODE_TYPE >::createStructType().
|
static |
Version to string conversion.
version | the version to convert |
Referenced by DDToXMLFactory< DOM_NODE_TYPE >::createNode(), and MappingConfigurationToXMLFactory< DomNodeType >::createNode().