OdimH5 model version informations.
More...
#include <radarlib/odimh5v20_support.hpp>
|
| ModelVersion (int maj, int min) |
| Create and inizalize object fields with the indicated values. More...
|
|
| ModelVersion (const std::string &value) |
| Create and inizalize object fields decoding the indicated string. More...
|
|
void | parse (const std::string &val) |
| Set object fields parsing an input string. More...
|
|
std::string | toString () const |
| Return a model version string formatted acording to OdimH5 specifications. More...
|
|
OdimH5 model version informations.
This class represent a OdimH5 v2.0 model version It is used to read and write OdimObjects attribute "what.version" See OdimH5 v2.0 specification/page 10 for further informations
- See also
- OdimObject
- Examples:
- create_odim_object.cpp.
◆ ModelVersion() [1/2]
OdimH5v20::ModelVersion::ModelVersion |
( |
int |
maj, |
|
|
int |
min |
|
) |
| |
Create and inizalize object fields with the indicated values.
- Parameters
-
maj | value for Major field |
min | value for Minor field |
◆ ModelVersion() [2/2]
OdimH5v20::ModelVersion::ModelVersion |
( |
const std::string & |
value | ) |
|
Create and inizalize object fields decoding the indicated string.
- Parameters
-
value | a string formatted like "H5rad <MAJOR>.<MINOR>" |
- Exceptions
-
◆ parse()
void OdimH5v20::ModelVersion::parse |
( |
const std::string & |
val | ) |
|
Set object fields parsing an input string.
- Parameters
-
val | a string formatted like "H5rad <MAJOR>.<MINOR>" |
- Exceptions
-
◆ toString()
std::string OdimH5v20::ModelVersion::toString |
( |
| ) |
const |
Return a model version string formatted acording to OdimH5 specifications.
The documentation for this class was generated from the following files: