7 #ifndef _DDLVERSIONHELPER_H_INCLUDED_
8 #define _DDLVERSIONHELPER_H_INCLUDED_
11 #define DDL_VERSION_COUNT 11
111 static const double& GetDefaultVersion();
131 template<
class SearchType,
class FindType,
size_t nSize>
132 static const FindType&
Find(
const SearchType(&aSearch)[nSize],
const FindType(&aFind)[nSize],
const SearchType &oSearchItem,
const FindType &oDefaultFindValue);
cDOM implements a XML parser which can be used to read in XML files and perform simple (!...
A common result class usable as return value throughout.
static double GetVersionStringAsFloat(const A_UTILS_NS::cString &strVersion)
This function converts the DDL version and returns it.
static tDDLVersion GetVersionFloatAsEnum(double fVersion)
This function converts the DDL version and returns it.
static bool IsKnownVersionFloat(double fVersion)
This function checks a float if it contains a DDL version that is known to ADTF.
static const A_UTILS_NS::cString & GetKnownVersionsString()
This function returns a string of all DDL versions known to ADTF.
static const FindType & Find(const SearchType(&aSearch)[nSize], const FindType(&aFind)[nSize], const SearchType &oSearchItem, const FindType &oDefaultFindValue)
This method searches an item oSearchItem in an array aSearch and returns the item from aFind that is ...
static tDDLVersion GetVersionStringAsEnum(const A_UTILS_NS::cString &strVersion)
This function converts the DDL version and returns it.
static bool IsKnownVersionString(const A_UTILS_NS::cString &strVersion)
This function checks a string if it contains a DDL version that is known to ADTF.
static const A_UTILS_NS::cString & GetVersionFloatAsString(double fVersion)
This function converts the DDL version and returns it.
static double GetVersionEnumAsFloat(tDDLVersion eVersion)
This function converts the DDL version enum and returns it as float.
#define DDL_VERSION_COUNT
Max DDL Version Counter.
Namespace for the mainpage_pkg_ddl.
@ DDL_VERSION_LATEST
Latest version (Version 4.0.0)
@ DDL_VERSION_101
Version 1.0.1.
@ DDL_VERSION_100
Version 1.0.0.
@ DDL_VERSION_400
Version 4.0.0.
@ DDL_VERSION_200
Version 2.0.0.
@ DDL_VERSION_300
Version 3.0.0.
@ DDL_VERSION_102
Version 1.0.2.