template <> |
class TSwizzle< TAny > : public TSwizzleBase |
A specific instantiation of the family of TSwizzle<class T> classes that maintains the representation of an untyped object as a non-const pointer or as a stream id.
Public Member Functions | |
---|---|
TSwizzle () | |
TSwizzle ( TAny *) | |
TSwizzle ( TStreamId ) | |
TSwizzle (const TSwizzleBase &) | |
TAny * | AsPtr () |
operator TAny * () | |
TSwizzle < TAny > & | operator= ( TAny *) |
TSwizzle < TAny > & | operator= (const TSwizzleBase &) |
TSwizzle | ( | TAny * | aPtr | ) | [inline] |
Constructs the swizzle representing the specified untyped object as a pointer.
TAny * aPtr | A pointer to an untyped object which this swizzle is to represent. |
TSwizzle | ( | TStreamId | anId | ) | [inline] |
Constructs the swizzle for an untyped object, represented as a stream id.
TStreamId anId | The id of a stream containing the external representation of the untyped object which this swizzle is to represent. |
TSwizzle | ( | const TSwizzleBase & | aSwizzle | ) | [inline] |
Constructs the swizzle to represent the untyped object currently represented by the specified swizzle.
const TSwizzleBase & aSwizzle | A reference to a swizzle whose representation of an object is to be copied to this swizzle |
TAny * | AsPtr | ( | ) | const [inline] |
Returns a pointer to the untyped object that this swizzle represents.
TSwizzle < TAny > & | operator= | ( | TAny * | aPtr | ) | [inline] |
Sets this swizzle to represent the in-memory object, pointed to by the specified pointer.
TAny * aPtr | A pointer to the untyped object which the swizzle is to represent. |
TSwizzle < TAny > & | operator= | ( | const TSwizzleBase & | aSwizzle | ) | [inline] |
Sets the swizzle to represent the untyped object currently represented by the specified swizzle.
const TSwizzleBase & aSwizzle | The swizzle whose representation of an object is to be copied to this swizzle. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.