TGlxId Class Reference

class TGlxId

TGlxId

Type-safe template for ids Id value of KMaxTUint is consided to be undefined. Define like this: class TMyIdBase {}; typedef TGlxId<TMyIdBase> TMyId; Now use can use TMyId in other code

Constructor & Destructor Documentation

TGlxId()

TGlxId ( ) [inline]

TGlxId(const TGlxId< T > &)

TGlxId ( const TGlxId < T > & aId ) [inline]

Parameters

const TGlxId < T > & aId

TGlxId(TUint)

TGlxId ( TUint aIdValue ) [inline]

Parameters

TUint aIdValue

TGlxId(const TGlxIdNone &)

TGlxId ( const TGlxIdNone & ) [inline]

Parameters

const TGlxIdNone &

Member Functions Documentation

SetValue(TUint)

void SetValue ( TUint aIdValue ) [inline]

Parameters

TUint aIdValue

Value()

TUint Value ( ) const [inline]

operator!=(const TGlxId< T > &)

TBool operator!= ( const TGlxId < T > & aId ) const [inline]

Parameters

const TGlxId < T > & aId

operator!=(const TGlxIdNone &)

TBool operator!= ( const TGlxIdNone & ) const [inline]

Parameters

const TGlxIdNone &

operator++(int)

TGlxId < T > operator++ ( int ) [inline]

Parameters

int

operator<(const TGlxId< T > &)

TBool operator< ( const TGlxId < T > & aId ) const [inline]

Parameters

const TGlxId < T > & aId

operator=(const TGlxId< T > &)

TGlxId < T > & operator= ( const TGlxId < T > & aId ) [inline]

Parameters

const TGlxId < T > & aId

operator=(TUint)

TGlxId < T > & operator= ( TUint aIdValue ) [inline]

Parameters

TUint aIdValue

operator=(const TGlxIdNone &)

TGlxId < T > & operator= ( const TGlxIdNone & ) [inline]

Parameters

const TGlxIdNone &

operator==(const TGlxId< T > &)

TBool operator== ( const TGlxId < T > & aId ) const [inline]

Parameters

const TGlxId < T > & aId

operator==(const TGlxIdNone &)

TBool operator== ( const TGlxIdNone & ) const [inline]

Parameters

const TGlxIdNone &

operator>(const TGlxId< T > &)

TBool operator> ( const TGlxId < T > & aId ) const [inline]

Parameters

const TGlxId < T > & aId

Member Data Documentation

TUint iIdValue

TUint iIdValue [private]