TSwizzle< TAny > Class Template Reference
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.
Constructor & Destructor Documentation
TSwizzle()
Default constructor.
Constructs an uninitialised swizzle.
TSwizzle(TAny *)
TSwizzle | ( | TAny * | aPtr | ) | [inline] |
Constructs the swizzle representing the specified untyped object as a pointer.
Parameters
TAny * aPtr | A pointer to an untyped object which this swizzle is to represent. |
TSwizzle(TStreamId)
Constructs the swizzle for an untyped object, represented as a stream id.
Parameters
TStreamId anId | The id of a stream containing the external representation of the untyped object which this swizzle is to represent. |
TSwizzle(const TSwizzleBase &)
Constructs the swizzle to represent the untyped object currently represented by the specified swizzle.
Parameters
const TSwizzleBase & aSwizzle | A reference to a swizzle whose representation of an object is to be copied to this swizzle |
Member Functions Documentation
AsPtr()
TAny * | AsPtr | ( | ) | const [inline] |
Returns a pointer to the untyped object that this swizzle represents.
operator TAny *()
operator TAny * | ( | ) | const [inline] |
operator=(TAny *)
Sets this swizzle to represent the in-memory object, pointed to by the specified pointer.
Parameters
TAny * aPtr | A pointer to the untyped object which the swizzle is to represent. |
operator=(const TSwizzleBase &)
Sets the swizzle to represent the untyped object currently represented by the specified swizzle.
Parameters
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.