Advanced Strategic Command
Public Member Functions | List of all members
VersionIdentifier Class Reference

#include <versionidentifier.h>

Public Member Functions

 VersionIdentifier ()
 
 VersionIdentifier (const ASCString &version)
 
 VersionIdentifier (const VersionIdentifier &version)
 
bool empty ()
 
void read (tnstream &stream)
 
void write (tnstream &stream) const
 
bool operator< (const VersionIdentifier &v) const
 
bool operator<= (const VersionIdentifier &v) const
 
bool operator> (const VersionIdentifier &v) const
 
bool operator>= (const VersionIdentifier &v) const
 
bool operator== (const VersionIdentifier &v) const
 
bool operator!= (const VersionIdentifier &v) const
 
ASCString toString () const
 
void fromString (const ASCString &v)
 

Detailed Description

Definition at line 30 of file versionidentifier.h.

Constructor & Destructor Documentation

VersionIdentifier::VersionIdentifier ( )

Definition at line 30 of file versionidentifier.cpp.

VersionIdentifier::VersionIdentifier ( const ASCString version)

Definition at line 34 of file versionidentifier.cpp.

References fromString().

VersionIdentifier::VersionIdentifier ( const VersionIdentifier version)

Definition at line 77 of file versionidentifier.cpp.

Member Function Documentation

bool VersionIdentifier::empty ( )

Definition at line 39 of file versionidentifier.cpp.

void VersionIdentifier::fromString ( const ASCString v)

Definition at line 56 of file versionidentifier.cpp.

References atoi().

Referenced by Package::runTextIO(), and VersionIdentifier().

bool VersionIdentifier::operator!= ( const VersionIdentifier v) const

Definition at line 178 of file versionidentifier.cpp.

References operator==().

bool VersionIdentifier::operator< ( const VersionIdentifier v) const

Definition at line 127 of file versionidentifier.cpp.

References min().

Referenced by operator>=().

bool VersionIdentifier::operator<= ( const VersionIdentifier v) const

Definition at line 109 of file versionidentifier.cpp.

References min().

Referenced by operator>().

bool VersionIdentifier::operator== ( const VersionIdentifier v) const

Definition at line 158 of file versionidentifier.cpp.

References min().

Referenced by operator!=().

bool VersionIdentifier::operator> ( const VersionIdentifier v) const

Definition at line 146 of file versionidentifier.cpp.

References operator<=().

bool VersionIdentifier::operator>= ( const VersionIdentifier v) const

Definition at line 151 of file versionidentifier.cpp.

References operator<().

void VersionIdentifier::read ( tnstream stream)
ASCString VersionIdentifier::toString ( ) const

Definition at line 45 of file versionidentifier.cpp.

References ASCString::toString().

Referenced by checkDataFileVersion(), and Package::runTextIO().

void VersionIdentifier::write ( tnstream stream) const

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