TSwizzleC< TAny > Class Template Reference
template <> |
class TSwizzleC< TAny > : public TSwizzleCBase |
A specific instantiation of the family of TSwizzleC<class T> classes that maintains the representation of an untyped object as a const pointer or as a stream id.
Constructor & Destructor Documentation
TSwizzleC()
Default constructor.
Constructs an uninitialised swizzle.
TSwizzleC(const TAny *)
TSwizzleC | ( | const TAny * | aPtr | ) | [inline] |
Constructs the swizzle representing the specified untyped object as a pointer.
Parameters
const TAny * aPtr | A pointer to an untyped object which this swizzle is to represent. |
TSwizzleC(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. |
TSwizzleC(const TSwizzleCBase &)
Constructs the swizzle to represent the untyped object currently represented by the specified swizzle.
Parameters
const TSwizzleCBase & aSwizzle | The swizzle whose representation of an object is to be copied to this swizzle. |
TSwizzleC(TStreamRef)
Constructs the swizzle from a stream reference.
Member Functions Documentation
AsPtr()
const TAny * | AsPtr | ( | ) | const [inline] |
Gets a constant pointer to the untyped object that this swizzle represents.
operator const TAny *()
operator const TAny * | ( | ) | const [inline] |
operator=(const TAny *)
Sets this swizzle to represent the specified in-memory untyped object.
Parameters
const TAny * aPtr | A pointer to the untyped object that the swizzle is to represent. |
operator=(const TSwizzleCBase &)
Sets this swizzle to represent the untyped object currently represented by the specific swizzle.
Parameters
const TSwizzleCBase & aSwizzle | A pointer to the untyped object that the swizzle is to represent. |
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.