CxVersion()

Creates a version object from major, minor, and point numbers or from a version string.

Syntax

CxVersion(int major, int minor, int point);
  CxVersion(char * verString);
  

Parameters

major [in]
is an integer that specifies the major version, which precedes the first delimiter in the version.

minor [in]
is an integer that specifies the minor version, which follows the first delimiter in the version.

point [in]
is an integer that specifies the point version, which follows the second delimiter in the version.

verString [in]
is a character string that specifies a version, such as "2.0.3".

Return values

None.

Notes

Each business object definition refers to an instance of the CxVersion class to set its version. The version to which a BusinessObject constructor refers is the version of the business object definition. A business object has the same version as its business object definition.

Examples

CxVersion * CurrentVersion =
     new CxVersion(LATEST, LATEST, LATEST);
  . . .
  myVersion = new CxVersion("2.0.3");
  

See also

See also the description of the BusObjSpec class.

Copyright IBM Corp. 1997, 2003