|
libbmq b6028b29b733bc7541593d2905a5f79a9f0192fc
|
Provide a value-semantic type representing a version (major minor). More...
#include <bsl_iosfwd.h>Go to the source code of this file.
Classes | |
| class | BloombergLP::bmqt::Version |
| A version consisting of a major and minor version number. More... | |
Namespaces | |
| namespace | BloombergLP |
| namespace | BloombergLP::bmqt |
Functions | |
| bsl::ostream & | BloombergLP::bmqt::operator<< (bsl::ostream &stream, const Version &rhs) |
| bool | BloombergLP::bmqt::operator== (const Version &lhs, const Version &rhs) |
| bool | BloombergLP::bmqt::operator!= (const Version &lhs, const Version &rhs) |
| bool | BloombergLP::bmqt::operator< (const Version &lhs, const Version &rhs) |
This component implements a simple value-semantic type, bmqt::Version representing the version of an object. It is used in particular to attach a version attribute to a bmqa::Message, so that a consuming application receiving a message knows the version of the schema that was used for publishing.
A version is represented by two numbers: a major and a minor version. Both are positive integers within the range [0-255].