casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
casa::VersionInfo Class Reference

#include <version.h>

Static Public Member Functions

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...
 

Detailed Description

Definition at line 38 of file version.h.

Member Function Documentation

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

Referenced by report().

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: