17 INLINE
int PStatClientVersion::
18 get_major_version()
const {
19 return _major_version;
25 INLINE
int PStatClientVersion::
26 get_minor_version()
const {
27 return _minor_version;
33 INLINE
void PStatClientVersion::
34 set_version(
int major_version,
int minor_version) {
35 _major_version = major_version;
36 _minor_version = minor_version;
45 return (_major_version > major_version ||
46 (_major_version == major_version && _minor_version >= minor_version));
bool is_at_least(int major_version, int minor_version) const
Returns true if the client version is at least the indicated major/minor version number,...