![]() |
Scarab
v2.2.3
Project 8 C++ Utility Library
|
#include <version_base.hh>
Public Member Functions | |
version_semantic () | |
version_semantic (unsigned a_maj_ver, unsigned a_min_ver, unsigned a_patch_ver) | |
version_semantic (const std::string &a_ver) | |
version_semantic (const version_semantic &a_orig) | |
~version_semantic () | |
version_semantic & | operator= (const version_semantic &a_orig) |
bool | operator< (const version_semantic &a_other) |
Less-than operator to compare version information only. More... | |
bool | operator== (const version_semantic &a_other) |
Equality operator to compare version information only. More... | |
virtual unsigned | major_version () const |
virtual unsigned | minor_version () const |
virtual unsigned | patch_version () const |
virtual const std::string & | version_str () const |
virtual const std::string & | package () const |
virtual const std::string & | commit () const |
virtual const std::string & | exe_name () const |
virtual const std::string & | hostname () const |
virtual const std::string & | username () const |
virtual std::string | version_info_string () const |
bool | parse (const std::string &a_ver) |
bool | combine (unsigned a_maj_ver, unsigned a_min_ver, unsigned a_patch_ver) |
bool | update_exe_host_user () |
![]() | |
version_ifc () | |
version_ifc (const version_ifc &) | |
virtual | ~version_ifc () |
version_ifc & | operator= (const version_ifc &) |
Protected Attributes | |
unsigned | f_major_ver |
unsigned | f_minor_ver |
unsigned | f_patch_ver |
std::string | f_version |
std::string | f_package |
std::string | f_commit |
std::string | f_exe_name |
std::string | f_hostname |
std::string | f_username |
Static Protected Attributes | |
static char | s_delimeter = '.' |
Definition at line 43 of file version_base.hh.
version_semantic | ( | ) |
Definition at line 49 of file version_base.cc.
version_semantic | ( | unsigned | a_maj_ver, |
unsigned | a_min_ver, | ||
unsigned | a_patch_ver | ||
) |
Definition at line 64 of file version_base.cc.
version_semantic | ( | const std::string & | a_ver | ) |
Definition at line 80 of file version_base.cc.
version_semantic | ( | const version_semantic & | a_orig | ) |
Definition at line 96 of file version_base.cc.
~version_semantic | ( | ) |
Definition at line 110 of file version_base.cc.
bool combine | ( | unsigned | a_maj_ver, |
unsigned | a_min_ver, | ||
unsigned | a_patch_ver | ||
) |
Definition at line 184 of file version_base.cc.
|
inlinevirtual |
Implements version_ifc.
Definition at line 121 of file version_base.hh.
|
inlinevirtual |
Implements version_ifc.
Definition at line 126 of file version_base.hh.
|
inlinevirtual |
Implements version_ifc.
Definition at line 130 of file version_base.hh.
|
inlinevirtual |
Implements version_ifc.
Definition at line 98 of file version_base.hh.
|
inlinevirtual |
Implements version_ifc.
Definition at line 102 of file version_base.hh.
bool operator< | ( | const version_semantic & | a_other | ) |
Less-than operator to compare version information only.
Definition at line 129 of file version_base.cc.
version_semantic & operator= | ( | const version_semantic & | a_orig | ) |
Definition at line 114 of file version_base.cc.
bool operator== | ( | const version_semantic & | a_other | ) |
Equality operator to compare version information only.
Definition at line 137 of file version_base.cc.
|
inlinevirtual |
Implements version_ifc.
Definition at line 116 of file version_base.hh.
bool parse | ( | const std::string & | a_ver | ) |
Definition at line 144 of file version_base.cc.
|
inlinevirtual |
Implements version_ifc.
Definition at line 106 of file version_base.hh.
bool update_exe_host_user | ( | ) |
Definition at line 192 of file version_base.cc.
|
inlinevirtual |
Implements version_ifc.
Definition at line 134 of file version_base.hh.
|
virtual |
Implements version_ifc.
Definition at line 270 of file version_base.cc.
|
inlinevirtual |
Implements version_ifc.
Definition at line 111 of file version_base.hh.
|
protected |
Definition at line 90 of file version_base.hh.
|
protected |
Definition at line 92 of file version_base.hh.
|
protected |
Definition at line 93 of file version_base.hh.
|
protected |
Definition at line 84 of file version_base.hh.
|
protected |
Definition at line 85 of file version_base.hh.
|
protected |
Definition at line 89 of file version_base.hh.
|
protected |
Definition at line 86 of file version_base.hh.
|
protected |
Definition at line 94 of file version_base.hh.
|
protected |
Definition at line 87 of file version_base.hh.
|
staticprotected |
Definition at line 82 of file version_base.hh.