TPckgC Class Reference

#include <e32cmn.h>

Link against: libm.lib

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.

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

Returns: The packaged object