TVersion Class Reference

class TVersion

Contains version information.

A version is defined by a set of three numbers:

1. the major version number, ranging from 0 to 127, inclusive

2. the minor version number, ranging from 0 to 99 inclusive

3. the build number, ranging from 0 to 32767 inclusive.

The class provides a constructor for setting all three numbers. It also provides a member function to build a character representation of this information in a TVersionName descriptor.

TVersionName

Public Member Functions
TVersion()
TVersion(TInt, TInt, TInt)
IMPORT_C TVersionNameName()
Public Attributes
TInt16 iBuild
TInt8 iMajor
TInt8 iMinor

Constructor & Destructor Documentation

TVersion()

IMPORT_CTVersion()

TVersion(TInt, TInt, TInt)

IMPORT_CTVersion(TIntaMajor,
TIntaMinor,
TIntaBuild
)

Parameters

TInt aMajor
TInt aMinor
TInt aBuild

Member Functions Documentation

Name()

IMPORT_C TVersionNameName()const

Member Data Documentation

TInt16 iBuild

TInt16 iBuild

The build number.

TInt8 iMajor

TInt8 iMajor

The major version number.

TInt8 iMinor

TInt8 iMinor

The minor version number.