Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Types of package

Three types of package are available:


Packaged modifiable buffer descriptor

This is an object of type TPckgBuf and is a modifiable buffer descriptor. The class is templated; the template parameter defines the type of object that this descriptor can contain.

For example, a package descriptor of type TPckgBuf<TExample> is a modifiable buffer descriptor that only contains objects of type TExample.

The package class also allows functions to be called on the contained class.

[Top]


Packaged non-modifiable pointer descriptor

This is an object of type TPckgC and is a non-modifiable pointer descriptor. The class is templated; the template parameter defines the type of object that this descriptor can represent.

For example, a package descriptor of type TPckgC<TExample> is a non- modifiable pointer descriptor that only represents objects of type TExample.

The package class also allows functions to be called on the contained class.

[Top]


Packaged modifiable pointer descriptor

This is an object of type TPckg and is a modifiable pointer descriptor. The class is templated; the template parameter defines the type of object that this descriptor can represent.

For example, a package descriptor of type TPckg<TExample> is a modifiable pointer descriptor that only represents objects of type TExample.

The package class also allows functions to be called on the contained class.

[Top]


See also

Descriptor concepts.

TBuf

TPtrC

TPtr