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 ( TUint16 aMajor,
TUint16 aMinor,
TUint32 aBuild
)

Initializes version

Parameters

TUint16 aMajor Major version number
TUint16 aMinor Minor version number
TUint32 aBuild Build version number

Member Functions Documentation

ConvertL(TCatalogsVersion &, const TDesC &)

void ConvertL ( 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 & aVersion Version to compare with

operator>=(const TCatalogsVersion &)

TBool operator>= ( const TCatalogsVersion & aVersion ) const

Equar or greater than -operator

Parameters

const TCatalogsVersion & aVersion Version to compare with

Member Data Documentation

TUint32 iBuild

TUint32 iBuild

TUint16 iMajor

TUint16 iMajor

TUint16 iMinor

TUint16 iMinor