PM Library classes

class PMVersion

? ^ 

Version number.

Represents a specific version number. It provides mechanisms for version comparison.
An PMVersion is composed of:

You can construct, destruct, copy, and assign objects of this class.

Source:
pm_version.h:37
Author:
Dmitry A.Steklenev
Version:
$Revision: 1.2 $

Contents

^ 
EntityTypeScopeShort Description
PMVersionconstructor publicConstructs the default version number object.
PMVersionconstructor publicConstructs the version number object.
majormethod publicReturns the major version number.
minormethod publicReturns the minor version number.
patchlevelmethod publicReturns the patchlevel.
buildlevelmethod publicReturns the buildlevel.
majormethod publicSets the major version number.
minormethod publicSets the minor version number.
patchlevelmethod publicSets the patchlevel.
buildlevelmethod publicSets the buildlevel.
operator ==operator publicCompares this object to another version object for equality.
operator !=operator publicCompares this object to another version object for inequality.
operator <operator publicCompares this object to another version object for relative magnitude.
operator <=operator publicCompares this object to another version object for relative magnitude.
operator >operator publicCompares this object to another version object for relative magnitude.
operator >=operator publicCompares this object to another version object for relative magnitude.
emptymethod publicIf all parts of this version object are zero, TRUE is returned.

constructor PMVersion

? ^  > 
Constructs the default version number object.
Source:
pm_version.h:40
Code:
public PMVersion ( )

constructor PMVersion

? ^  < > 
Constructs the version number object.
Source:
pm_version.h:42
Code:
public PMVersion ( int major ,
int minor ,
int patchlevel ,
int buildlevel )

method major

? ^  < > 
Returns the major version number.
Source:
pm_version.h:45
Code:
public int major ( ) const

method minor

? ^  < > 
Returns the minor version number.
Source:
pm_version.h:47
Code:
public int minor ( ) const

method patchlevel

? ^  < > 
Returns the patchlevel.
Source:
pm_version.h:49
Code:
public int patchlevel ( ) const

method buildlevel

? ^  < > 
Returns the buildlevel.
Source:
pm_version.h:51
Code:
public int buildlevel ( ) const

method major

? ^  < > 
Sets the major version number.
Source:
pm_version.h:54
Code:
public void major ( int major )

method minor

? ^  < > 
Sets the minor version number.
Source:
pm_version.h:56
Code:
public void minor ( int minor )

method patchlevel

? ^  < > 
Sets the patchlevel.
Source:
pm_version.h:58
Code:
public void patchlevel ( int patchlevel )

method buildlevel

? ^  < > 
Sets the buildlevel.
Source:
pm_version.h:60
Code:
public void buildlevel ( int buildlevel )

operator ==

? ^  < > 
Compares this object to another version object for equality.
Source:
pm_version.h:63
Code:
public int operator == ( const PMVersion & version ) const

operator !=

? ^  < > 
Compares this object to another version object for inequality.
Source:
pm_version.h:65
Code:
public int operator != ( const PMVersion & version ) const

operator <

? ^  < > 
Compares this object to another version object for relative magnitude.
Source:
pm_version.h:67
Code:
public int operator < ( const PMVersion & version ) const

operator <=

? ^  < > 
Compares this object to another version object for relative magnitude.
Source:
pm_version.h:69
Code:
public int operator <= ( const PMVersion & version ) const

operator >

? ^  < > 
Compares this object to another version object for relative magnitude.
Source:
pm_version.h:71
Code:
public int operator > ( const PMVersion & version ) const

operator >=

? ^  < > 
Compares this object to another version object for relative magnitude.
Source:
pm_version.h:73
Code:
public int operator >= ( const PMVersion & version ) const

method empty

? ^  < > 
If all parts of this version object are zero, TRUE is returned.
Source:
pm_version.h:76
Code:
public BOOL empty ( ) const

Created Fri Aug 3 09:13:16 2012.
This documentation was generated automatically by
ccdoc v08r39 2003/02/27 bin_opt_emx_os2-2.30.
Click here to submit a bug report or feature request for ccdoc.
Click here to return to the top of the page.