Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32cmn.h>

Class TPckg

class TPckg : public TPtr8;

Description

Packages a 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.

Derivation

Members

Defined in TPckg:

Inherited from TDes8:

Inherited from TDesC8:

Inherited from TPtr8:


Construction and destruction


TPckg(const T &)

inline TPckg(const T &aRef);

Description

Constructs a packaged 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 modifiable pointer descriptor.

[Top]


Member functions


operator()()

inline T& operator()();

Description

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

Return value

T &

The packaged object.