TPckgC Class Reference

class TPckgC : public TPtrC8

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.

Inherits from

Public Member Functions
TPckgC (const T &)
const T & operator() ()
Private Member Functions
TPckgC < T > & operator= (const TPckgC < T > &)
Inherited Functions
TDesC8::Alloc()const
TDesC8::AllocL()const
TDesC8::AllocLC()const
TDesC8::AtC(TInt)const
TDesC8::Compare(const TDesC8 &)const
TDesC8::CompareC(const TDesC8 &)const
TDesC8::CompareF(const TDesC8 &)const
TDesC8::DoSetLength(TInt)
TDesC8::Find(const TDesC8 &)const
TDesC8::Find(const TUint8 *,TInt)const
TDesC8::FindC(const TDesC8 &)const
TDesC8::FindC(const TUint8 *,TInt)const
TDesC8::FindF(const TDesC8 &)const
TDesC8::FindF(const TUint8 *,TInt)const
TDesC8::Left(TInt)const
TDesC8::Length()const
TDesC8::Locate(TChar)const
TDesC8::LocateF(TChar)const
TDesC8::LocateReverse(TChar)const
TDesC8::LocateReverseF(TChar)const
TDesC8::Match(const TDesC8 &)const
TDesC8::MatchC(const TDesC8 &)const
TDesC8::MatchF(const TDesC8 &)const
TDesC8::Mid(TInt)const
TDesC8::Mid(TInt,TInt)const
TDesC8::Ptr()const
TDesC8::Right(TInt)const
TDesC8::Size()const
TDesC8::TDesC8()
TDesC8::TDesC8(TInt,TInt)
TDesC8::Type()const
TDesC8::operator!=(const TDesC8 &)const
TDesC8::operator<(const TDesC8 &)const
TDesC8::operator<=(const TDesC8 &)const
TDesC8::operator==(const TDesC8 &)const
TDesC8::operator>(const TDesC8 &)const
TDesC8::operator>=(const TDesC8 &)const
TDesC8::operator[](TInt)const
TPtrC8::Set(const TDesC8 &)
TPtrC8::Set(const TPtrC8 &)
TPtrC8::Set(const TUint8 *,TInt)
TPtrC8::TPtrC8()
TPtrC8::TPtrC8(const TDesC8 &)
TPtrC8::TPtrC8(const TUint8 *)
TPtrC8::TPtrC8(const TUint8 *,TInt)
Inherited Attributes
TPtrC8::iPtr

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.

Parameters

const T & aRef The object to be represented by this packaged non-modifiable pointer descriptor.

Member Functions Documentation

operator()()

const T & operator() ( ) const [inline]

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

operator=(const TPckgC< T > &)

TPckgC < T > & operator= ( const TPckgC < T > & aRef ) [private]

Parameters

const TPckgC < T > & aRef