Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
TPckgC< T > Class Template Reference

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

#include <e32cmn.h>

Inheritance diagram for TPckgC< T >:

Public Member Functions

 TPckgC (const T &aRef)
 Constructs a packaged non-modifiable pointer descriptor to represent the specified object whose type is defined by the template parameter.
 
const T & operator() () const
 Gets a reference to the object represented by this packaged non-modifiable pointer descriptor.
 

Detailed Description

template<class T>
class TPckgC< T >

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.

API status
Published to all clients. Released API.

Definition at line 1750 of file e32cmn.h.

Constructor & Destructor Documentation

◆ TPckgC()

template<class T >
TPckgC< 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.

(generated from Symbian Developer Library)

Member Function Documentation

◆ operator()()

template<class T >
const T & TPckgC< T >::operator() ( ) const
inline

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

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: