CppWAMP
C++11 client library for the WAMP protocol
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
i
j
l
m
n
o
p
r
s
t
u
v
Functions
b
c
d
e
i
l
m
o
p
t
Variables
Typedefs
a
b
c
d
e
f
i
j
m
n
o
p
r
s
t
u
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
~
Variables
Typedefs
a
b
c
d
e
f
h
i
l
n
o
p
r
s
u
v
y
Enumerations
Files
File List
File Members
All
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
version.hpp
Go to the documentation of this file.
1
/*------------------------------------------------------------------------------
2
Copyright Butterfly Energy Systems 2014-2015, 2022.
3
Distributed under the Boost Software License, Version 1.0.
4
http://www.boost.org/LICENSE_1_0.txt
5
------------------------------------------------------------------------------*/
6
7
#ifndef CPPWAMP_VERSION_HPP
8
#define CPPWAMP_VERSION_HPP
9
10
#include <string>
11
#include "
api.hpp
"
12
13
//------------------------------------------------------------------------------
16
//------------------------------------------------------------------------------
17
19
#define CPPWAMP_MAJOR_VERSION 0
20
22
#define CPPWAMP_MINOR_VERSION 10
23
25
#define CPPWAMP_PATCH_VERSION 0
26
28
#define CPPWAMP_VERSION \
29
(CPPWAMP_MAJOR_VERSION * 10000 + \
30
CPPWAMP_MINOR_VERSION * 100 + \
31
CPPWAMP_PATCH_VERSION)
32
33
namespace
wamp
34
{
35
36
//------------------------------------------------------------------------------
42
//------------------------------------------------------------------------------
43
struct
CPPWAMP_API
Version
44
{
46
int
major
;
47
49
int
minor
;
50
52
int
patch
;
53
56
static
Version
parts();
57
59
static
int
integer
();
60
62
static
std::string toString();
63
65
static
std::string agentString();
66
};
67
68
}
// namespace wamp
69
70
#ifndef CPPWAMP_COMPILED_LIB
71
#include "./internal/version.ipp"
72
#endif
73
74
#endif // CPPWAMP_VERSION_HPP
wamp::Version::patch
int patch
Patch version for backwards-compatible bug fixes.
Definition:
version.hpp:52
wamp::Version
Bundles the major, minor, and patch version numbers.
Definition:
version.hpp:43
api.hpp
Defines macros related to exporting/importing APIs.
wamp::Version::minor
int minor
Minor version with functionality added in a backwards-compatible manner.
Definition:
version.hpp:49
wamp::Version::major
int major
Major version with incompatible API changes.
Definition:
version.hpp:46
wamp
Definition:
anyhandler.hpp:36
wamp::TypeId::integer
@ integer
For Variant::Int.
cppwamp
version.hpp
Generated on Sat Aug 13 2022 20:54:39 for CppWAMP by
1.8.17