class TSwizzleC< TAny > : public TSwizzleCBase;
Description
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.
Derivation
Members
Defined in TSwizzleC< TAny >
:
Inherited from TSwizzleCBase
:
Member functions
inline TSwizzleC();
Description
Default constructor.
Constructs an uninitialised swizzle.
Return value
inline TSwizzleC(const TAny *aPtr);
Description
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.
|
|
Return value
inline TSwizzleC(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
TSwizzleC(const TSwizzleCBase &)
inline TSwizzleC(const TSwizzleCBase &aSwizzle);
Description
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.
|
|
Return value
inline TSwizzleC(TStreamRef aRef);
Description
Constructs the swizzle from a stream reference.
Parameters
Return value
inline TSwizzleC< TAny >& operator=(const TAny *aPtr);
Description
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.
|
|
Return value
TSwizzleC < TAny > & |
A reference to this swizzle representing the untyped object.
|
|
operator=(const TSwizzleCBase &)
inline TSwizzleC< TAny >& operator=(const TSwizzleCBase &aSwizzle);
Description
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.
|
|
Return value
TSwizzleC < TAny > & |
A reference to a swizzle whose representation of an object is to be copied to this swizzle.
|
|
inline const TAny* AsPtr() const;
Description
Gets a constant pointer to the untyped object that this swizzle represents.
Return value
const TAny * |
A const pointer to the untyped object represented by this swizzle.
|
|
operator const TAny *()const
inline operator const TAny *() const;
Description
Return value