Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: e32std.h
Link against: euser.lib

Class TPckg

TPckg

Support

Supported from 5.0

Description

Packages a 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.

Derivation

TDes8Modifiable 8-bit descriptor; abstract class
TDesC8Abstract base class for 8 bit non-modifiable descriptors
TPckgPackages a modifiable pointer descriptor which represents an object of specific type
TPtr8This is a descriptor class intended for instantiation and encapsulates a pointer to the 8 bit data that it represents

Defined in TPckg:
TPckg(), operator()

Inherited from TDes8:
Append(), AppendFill(), AppendFormat(), AppendFormatList(), AppendJustify(), AppendNum(), AppendNumFixedWidth(), AppendNumFixedWidthUC(), AppendNumUC(), Capitalize(), Collate(), Copy(), CopyC(), CopyCP(), CopyF(), CopyLC(), CopyUC(), Delete(), Fill(), FillZ(), Fold(), Format(), FormatList(), Insert(), Justify(), LowerCase(), MaxLength(), MaxSize(), Num(), NumFixedWidth(), NumFixedWidthUC(), NumUC(), PtrZ(), Repeat(), Replace(), SetLength(), SetMax(), Swap(), Trim(), TrimAll(), TrimLeft(), TrimRight(), UpperCase(), Zero(), ZeroTerminate(), operator+=(), operator=, operator[]()

Inherited from TDesC8:
Alloc(), AllocL(), AllocLC(), Compare(), CompareC(), CompareF(), Find(), FindC(), FindF(), Left(), Length(), Locate(), LocateF(), LocateReverse(), LocateReverseF(), Match(), MatchC(), MatchF(), Mid(), Ptr(), Right(), Size(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=()

Inherited from TPtr8:
Set(), operator=()


Construction


TPckg()

TPckg(const T& aRef);

Description

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

Parameters

const T& aRef

The object to be represented by this packaged modifiable pointer descriptor.

[Top]


Access the packaged object


operator()

T& operator()();

Description

Returns a reference to the object represented by this packaged modifiable pointer descriptor.

Return value

The packaged object T&

The packaged object