Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32cmn.h

Class TPckgC

class TPckgC : public TPtrC8;

Description

Packages a non-modifiable pointer descriptor which represents an object of specific type.

The template parameter defines the type of object.

The object represented by the packaged pointer descriptor is accessible through the package but cannot be changed.

Derivation

Members

Defined in TPckgC:
TPckgC(), operator()()

Inherited from TDesC8:
Alloc(), AllocL(), AllocLC(), AtC(), Compare(), CompareC(), CompareF(), DoSetLength(), Find(), FindC(), FindF(), Left(), Length(), Locate(), LocateF(), LocateReverse(), LocateReverseF(), Match(), MatchC(), MatchF(), Mid(), Ptr(), Right(), Size(), Type(), operator!=(), operator>(), operator>=(), operator<(), operator<=(), operator==(), operator[]()

Inherited from TPtrC8:
Set(), iPtr


Construction and destruction


TPckgC()

inline TPckgC(const T &aRef);

Description

Constructs a packaged non-modifiable pointer descriptor to represent the specified object whose type is defined by the template parameter.

Parameters

const T &aRef

The object to be represented by this packaged non-modifiable pointer descriptor.

[Top]


Member functions


operator()()

inline const T &operator()() const;

Description

Gets a reference to the object represented by this packaged non-modifiable pointer descriptor.

Return value

const T &

The packaged object