CppWAMP
C++11 client library for the WAMP protocol
|
Bundles the major, minor, and patch version numbers. More...
#include <cppwamp/version.hpp>
Static Public Member Functions | |
static Version | parts () |
Obtains the current version of the library as major/minor/patch parts. | |
static int | integer () |
Obtains an integer representation of the library's current version. More... | |
static std::string | toString () |
Obtains the library's current version as a string. More... | |
static std::string | agentString () |
Obtains the agent string sent in HELLO messages. More... | |
Public Attributes | |
int | major |
Major version with incompatible API changes. | |
int | minor |
Minor version with functionality added in a backwards-compatible manner. | |
int | patch |
Patch version for backwards-compatible bug fixes. | |
Bundles the major, minor, and patch version numbers.
|
static |
Obtains an integer representation of the library's current version.
The integer version number is computed as:
|
static |
Obtains the library's current version as a string.
The string representation is formatted as:
without any zero padding.
|
static |
Obtains the agent string sent in HELLO
messages.
The agent string is formatted as:
without any zero padding.