Describes the three types of package descriptors.
Three types of package are available:
a packaged modifiable buffer descriptor
a packaged non-modifiable pointer descriptor
a packaged modifiable pointer 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.
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.
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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.