Dev Essential
Loading...
Searching...
No Matches
mapping_version.h
Go to the documentation of this file.
1
20
21#ifndef MAPPING_VERSION_BASE_H_INCLUDED
22#define MAPPING_VERSION_BASE_H_INCLUDED
23
25
26namespace ddl {
27namespace mapping {
28
32class Version : public ddl::dd::Version {
33public:
44 Version(const std::string& version);
45
50 Version(const ddl::dd::Version& version);
51
58
65 Version(uint32_t major, uint32_t minor);
66
73 bool isValidVersion() const;
74
79 static const Version getLatestVersion();
84 static const Version getDefaultVersion();
85};
86
91
92} // namespace mapping
93} // namespace ddl
94
95#endif // MAPPING_VERSION_BASE_H_INCLUDED
Version conversion utility class.
Definition dd_common_types.h:354
DDL Version.
Definition dd_common_types.h:203
Version(const std::string &version)
CTOR - Version from string.
Version()
default CTOR
static const Version getDefaultVersion()
Get the Default Version (this 1.0)
Version(uint32_t major, uint32_t minor)
CTOR.
Version & operator=(const ddl::dd::Version &version)
assignment operator for ddl version (because it is reused)
static const Version getLatestVersion()
Get the Latest Version (this is 2.0)
bool isValidVersion() const
is valid or not
Version(const ddl::dd::Version &version)
CTOR.
definition of the mapping namespace
Definition ddl.h:50
ddl::dd::VersionConversion VersionConversion
Resuse of ddl Version conversion utility class for mapping version.
Definition mapping_version.h:90
definition of the ddl namespace
Definition codec.h:21