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
Members
Defined in TSwizzle< TAny >
:
Inherited from TSwizzleBase
:
Inherited from TSwizzleCBase
:
Member functions
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
TSwizzle(const TSwizzleBase &)
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
operator=(const TSwizzleBase &)
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