Hyper API for C++  0.0.16638
Hyper client library for C++ applications
HyperServiceVersion.hpp
Go to the documentation of this file.
1 
5 #ifndef TABLEAU_HYPER_HYPER_SERVICE_VERSION_HPP
6 #define TABLEAU_HYPER_HYPER_SERVICE_VERSION_HPP
7 
8 #include <string>
9 
10 namespace hyperapi {
11 
15 struct HyperServiceVersion final {
19  uint32_t major;
23  uint32_t minor;
24 
29  std::string toString() { return std::to_string(major) + "." + std::to_string(minor); }
30 };
31 }
32 
33 #endif
hyperapi::HyperServiceVersion::toString
std::string toString()
Get the string representation of the version number.
Definition: HyperServiceVersion.hpp:29
hyperapi::HyperServiceVersion::major
uint32_t major
The major part of the version number.
Definition: HyperServiceVersion.hpp:19
hyperapi
The primary namespace of the Hyper API for C++.
Definition: ByteSpan.hpp:15
hyperapi::HyperServiceVersion
A Hyper Service version number of the form 'major.minor'.
Definition: HyperServiceVersion.hpp:15
hyperapi::HyperServiceVersion::minor
uint32_t minor
The minor part of the version number.
Definition: HyperServiceVersion.hpp:23