libHSPlasma
Public Types | Public Member Functions | Static Public Member Functions | List of all members
PlasmaVer Class Reference

#include <PlasmaVersions.h>

Public Types

enum  {
  pvUnknown = 0, pvPrime = MAKE_VERSION(2, 0, 63, 11), pvPots = MAKE_VERSION(2, 0, 63, 12), pvMoul = MAKE_VERSION(2, 0, 70, 0),
  pvEoa = MAKE_VERSION(2, 1, 6, 10), pvHex = MAKE_VERSION(3, 0, 0, 0), pvUniversal = -1, MASK_PLSMAJ = 0xF0000000,
  MASK_PLSMIN = 0xFF000000, MASK_REVMAJ = 0xFFFFF000, MASK_REVMIN = 0xFFFFFFFF
}

Public Member Functions

 PlasmaVer (int version=pvUnknown)
void set (int version)
PlasmaVeroperator= (int version)
 operator int () const
int plsMajor () const
int plsMinor () const
int revMajor () const
int revMinor () const
bool isValid () const
bool isUniversal () const
bool isPrime () const
bool isPots () const
bool isMoul () const
bool isEoa () const
bool isHexIsle () const
bool isUru () const
bool isUruSP () const
bool isLive () const
bool isNewPlasma () const
bool isSafeVer () const

Static Public Member Functions

static const char * GetVersionName (PlasmaVer ver)
static PlasmaVer GetSafestVersion (PlasmaVer ver)

Member Enumeration Documentation

anonymous enum
Enumerator:
pvUnknown 
pvPrime 
pvPots 
pvMoul 
pvEoa 
pvHex 
pvUniversal 
MASK_PLSMAJ 
MASK_PLSMIN 
MASK_REVMAJ 
MASK_REVMIN 

Constructor & Destructor Documentation

PlasmaVer::PlasmaVer ( int  version = pvUnknown)

Member Function Documentation

static PlasmaVer PlasmaVer::GetSafestVersion ( PlasmaVer  ver)
static
static const char* PlasmaVer::GetVersionName ( PlasmaVer  ver)
static
bool PlasmaVer::isEoa ( ) const
bool PlasmaVer::isHexIsle ( ) const
bool PlasmaVer::isLive ( ) const
bool PlasmaVer::isMoul ( ) const
bool PlasmaVer::isNewPlasma ( ) const
bool PlasmaVer::isPots ( ) const
bool PlasmaVer::isPrime ( ) const
bool PlasmaVer::isSafeVer ( ) const
bool PlasmaVer::isUniversal ( ) const
bool PlasmaVer::isUru ( ) const
bool PlasmaVer::isUruSP ( ) const
bool PlasmaVer::isValid ( ) const
PlasmaVer::operator int ( ) const
PlasmaVer& PlasmaVer::operator= ( int  version)
int PlasmaVer::plsMajor ( ) const
int PlasmaVer::plsMinor ( ) const
int PlasmaVer::revMajor ( ) const
int PlasmaVer::revMinor ( ) const
void PlasmaVer::set ( int  version)

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