Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: S32STD.H

Class TSwizzleC< TAny >

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 >:
AsPtr(), TSwizzleC(), TSwizzleC(), TSwizzleC(), TSwizzleC(), TSwizzleC(), operator const TAny *(), operator=(), operator=()

Inherited from TSwizzleCBase:
AsId(), DoExternalizeL(), InternalizeL(), IsId(), IsPtr(), Ptr(), operator!=(), operator==()


Member functions


TSwizzleC()

inline TSwizzleC();

Description

Default constructor.

Constructs an uninitialised swizzle.

Return value


TSwizzleC()

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


TSwizzleC()

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()

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


TSwizzleC()

inline TSwizzleC(TStreamRef aRef);

Description

Constructs the swizzle from a stream reference.

Parameters

TStreamRef aRef

The stream reference.

Return value


operator=()

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=()

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.


AsPtr()

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 *()

inline operator const TAny *() const;

Description

Return value