#include <version.h>
|
static int | major () |
|
static int | minor () |
|
static int | patch () |
|
static int | feature () |
|
static std::string | desc () |
|
static std::string | info () |
|
static std::string | str () |
|
static std::string | variant () |
|
static bool | compare (const std::string &comparitor, const std::vector< int > &vec) |
| compare the version included in 'vec' against the current version. More...
|
|
static void | report (std::ostream &os) |
| Summarize the above into an ostream. More...
|
|
Definition at line 38 of file version.h.
static bool casa::VersionInfo::compare |
( |
const std::string & |
comparitor, |
|
|
const std::vector< int > & |
vec |
|
) |
| |
|
static |
compare the version included in 'vec' against the current version.
'comparitor' is one of: ">", "<", ">=", "<=", "=", "!="
static std::string casa::VersionInfo::desc |
( |
| ) |
|
|
static |
static int casa::VersionInfo::feature |
( |
| ) |
|
|
static |
static std::string casa::VersionInfo::info |
( |
| ) |
|
|
static |
static int casa::VersionInfo::major |
( |
| ) |
|
|
static |
static int casa::VersionInfo::minor |
( |
| ) |
|
|
static |
static int casa::VersionInfo::patch |
( |
| ) |
|
|
static |
static void casa::VersionInfo::report |
( |
std::ostream & |
os | ) |
|
|
inlinestatic |
Summarize the above into an ostream.
Note that an ostringstream
can be converted to a String via a constructor. This information is NOT prepended with "AIPS++ version:" or anything like that. You may wish to add this yourself. The date is also not included.
Definition at line 60 of file version.h.
References info().
static std::string casa::VersionInfo::str |
( |
| ) |
|
|
static |
static std::string casa::VersionInfo::variant |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following file: