class TSwizzle< TAny > : public TSwizzleBase;
Description
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.
Derivation
TSwizzle< TAny >
- A specific instantiation of the family of TSwizzle
classes that maintains the representation of an untyped object as a non-const pointer or as a stream id
Members
Defined in TSwizzle< TAny >
:
AsPtr()
, TSwizzle()
, TSwizzle()
, TSwizzle()
, TSwizzle()
, operator TAny *()
, operator=()
, operator=()
Inherited from TSwizzleBase
:
Ptr()
Inherited from TSwizzleCBase
:
AsId()
,
DoExternalizeL()
,
InternalizeL()
,
IsId()
,
IsPtr()
,
operator!=()
,
operator==()
inline TSwizzle();
Description
Default constructor.
Constructs an uninitialised swizzle.
Return value
inline TSwizzle(TAny *aPtr);
Description
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.
|
|
Return value
inline TSwizzle(TStreamId anId);
Description
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.
|
|
Return value
inline TSwizzle(const TSwizzleBase &aSwizzle);
Description
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
|
|
Return value
inline TSwizzle< TAny > &operator=(TAny *aPtr);
Description
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.
|
|
Return value
inline TSwizzle< TAny > &operator=(const TSwizzleBase &aSwizzle);
Description
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.
|
|
Return value
inline TAny *AsPtr() const;
Description
Returns a pointer to the untyped object that this swizzle represents.
Return value
TAny * |
A pointer to the untyped object represented by this swizzle.
|
|
inline operator TAny *() const;
Description
Return value