Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from TDesC8:

Inherited from TPtrC8:


Construction and destruction


TPckgC(const T &)

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

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