otsdaq  v2_05_02_indev
ots::TableVersion Class Reference

Public Member Functions

 TableVersion (unsigned int version=INVALID)
 
 TableVersion (char *const &versionStr)
 
 TableVersion (const std::string &versionStr)
 
unsigned int version (void) const
 
bool isTemporaryVersion (void) const
 
bool isScratchVersion (void) const
 
bool isMockupVersion (void) const
 
bool isInvalid (void) const
 
std::string toString (void) const
 
TableVersionoperator= (const unsigned int version)
 
bool operator== (unsigned int version) const
 
bool operator== (const TableVersion &version) const
 
bool operator!= (unsigned int version) const
 
bool operator!= (const TableVersion &version) const
 
bool operator< (const TableVersion &version) const
 
bool operator> (const TableVersion &version) const
 
bool operator<= (const TableVersion &version) const
 
bool operator>= (const TableVersion &version) const
 

Static Public Member Functions

static TableVersion getNextVersion (const TableVersion &version=TableVersion())
 
static TableVersion getNextTemporaryVersion (const TableVersion &version=TableVersion())
 

Static Public Attributes

static const unsigned int INVALID = -1
 
static const unsigned int DEFAULT = 0
 
static const unsigned int SCRATCH = ~(1 << 31)
 

Friends

std::ostream & operator<< (std::ostream &out, const TableVersion &version)
 

Detailed Description

Definition at line 13 of file TableVersion.h.


The documentation for this class was generated from the following files: