TCatalogsVersion Class Reference

class TCatalogsVersion

TVersion class has size restrictions and is not suitable to represent SIS file versions. TCatalogsVersion has higher limits for the version values.

Constructor & Destructor Documentation

TCatalogsVersion()

TCatalogsVersion()

Initializes version to 0.0.0

TCatalogsVersion(TUint16, TUint16, TUint32)

TCatalogsVersion(TUint16aMajor,
TUint16aMinor,
TUint32aBuild
)

Initializes version

Parameters

TUint16 aMajorMajor version number
TUint16 aMinorMinor version number
TUint32 aBuildBuild version number

Member Functions Documentation

ConvertL(TCatalogsVersion &, const TDesC &)

voidConvertL(TCatalogsVersion &aTarget,
const TDesC &aVersion
)[static]

Converts a descriptor to TCatalogsVersion

leave
KErrArgument if at least major number is not in aVersion
leave
KErrGeneral if aVersion doesn't contain valid characters

Parameters

TCatalogsVersion & aTarget
const TDesC & aVersion

ConvertLC(const TCatalogsVersion &)

HBufC *ConvertLC(const TCatalogsVersion &aSource)[static]

Converts a version string to a descriptor

Parameters

const TCatalogsVersion & aSource

operator!=(const TCatalogsVersion &)

TBool operator!=(const TCatalogsVersion &aVersion)const [inline]

Parameters

const TCatalogsVersion & aVersion

operator==(const TCatalogsVersion &)

TBool operator==(const TCatalogsVersion &aVersion)const

Comparison operator

Version to compare with

Parameters

const TCatalogsVersion & aVersion

operator>(const TCatalogsVersion &)

TBool operator>(const TCatalogsVersion &aVersion)const

Greater than -operator

Parameters

const TCatalogsVersion & aVersionVersion to compare with

operator>=(const TCatalogsVersion &)

TBool operator>=(const TCatalogsVersion &aVersion)const

Equar or greater than -operator

Parameters

const TCatalogsVersion & aVersionVersion to compare with

Member Data Documentation

TUint32 iBuild

TUint32 iBuild

TUint16 iMajor

TUint16 iMajor

TUint16 iMinor

TUint16 iMinor