CxVersion class

The CxVersion class represents business object versions. You can use methods of this class to set and retrieve version information. The header file for this class is CxVersion.hpp. It resides in the following subdirectory of your product directory:

DevelopmentKits\cdk\generic_include
  

Table 104 summarizes the methods in the CxVersion class.

Table 104.
Member methods of the CxVersion class
Member method Description Page
CxVersion() Creates a version object. CxVersion()
compareMajor() Compares the major version with an object or an integer. compareMajor()
compareMinor() Compares the minor version with an object or an integer. compareMinor()
comparePoint() Compares the point versions with an object or an integer. comparePoint()
compareTo() Compares version with an object or an integer. compareTo()
getDELIMITER() Retrieves the delimiter character that separates major, minor, and point versions in an version object. getDELIMITER()
getLATESTVERSION() Retrieves the latest version object. getLATESTVERSION()
getMajorVer() Retrieves the major version. getMajorVer()
getMinorVer() Retrieves the minor version. getMinorVer()
getPointVer() Retrieves the point version. getPointVer()
setMajorVer() Sets the major version. setMajorVer()
setMinorVer() Sets the minor version. setMinorVer()
setPointVer() Sets the point version of a version object. setPointVer()
toString() Converts a version object or integers to a character string. toString()

Copyright IBM Corp. 1997, 2003