TPckgC Class Reference

#include <e32cmn.h>

class TPckgC : public TPtrC8

Inherits from

Detailed 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.

Constructor & Destructor Documentation

TPckgC ( const T & )

TPckgC(const T &aRef)[inline]

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

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

Member Function Documentation

operator() ( )

const T &operator()()const [inline]

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

Return Value
The packaged object