|
|
|
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.
TDesC8 -
Abstract base class for 8-bit non-modifiable descriptors.
TPtrC8 -
8-bit non-modifiable pointer descriptor.
TPckgC - ...
Defined in TPckgC:
TPckgC(const T &)Constructs a packaged non-modifiable pointer descriptor to represent the specifi...operator()()constGets a reference to the object represented by this packaged non-modifiable point...Inherited from TDesC8:
Alloc()constCreates a new 8-bit heap descriptor and initialises it with a copy of this descr...AllocL()constCreates a new 8-bit heap descriptor and initialises it with a copy of this descr...AllocLC()constCreates a new 8-bit heap descriptor, initialises it with a copy of this descript...AtC(TInt)constCompare(const TDesC8 &)constCompares this descriptor's data with the specified descriptor's data.CompareC(const TDesC8 &)constCompares this descriptor's data with the specified descriptor's data using the s...CompareF(const TDesC8 &)constCompares this descriptor's folded data with the specified descriptor's folded da...DoSetLength(TInt)Find(const TDesC8 &)constSearches for the first occurrence of the specified data sequence within this des...Find(const TUint8 *,TInt)constSearches for the first occurrence of the specified data sequence within this des...FindC(const TDesC8 &)constSearches for the first occurrence of the specified collated data sequence within...FindC(const TUint8 *,TInt)constSearches for the first occurrence of the specified collated data sequence within...FindF(const TDesC8 &)constSearches for the first occurrence of the specified folded data sequence within t...FindF(const TUint8 *,TInt)constSearches for the first occurrence of the specified folded data sequence within t...Left(TInt)constExtracts the leftmost part of the data.Length()constGets the length of the data.Locate(TChar)constSearches for the first occurrence of a character within this descriptor's data.LocateF(TChar)constSearches for the first occurrence of a folded character within this descriptor's...LocateReverse(TChar)constSearches for the first occurrence of a character within this descriptor's data, ...LocateReverseF(TChar)constSearches for the first occurrence of a folded character within this descriptor's...Match(const TDesC8 &)constSearches this descriptor's data for a match with the match pattern supplied in t...MatchC(const TDesC8 &)constSearches this descriptor's collated data for a match with the collated match pat...MatchF(const TDesC8 &)constSearches this descriptor's folded data for a match with the folded match pattern...Mid(TInt)constExtracts a portion of the data.Mid(TInt,TInt)constExtracts a portion of the data.Ptr()constGets a pointer to the data represented by the descriptor.Right(TInt)constExtracts the rightmost part of the data.Size()constGets the size of the data.TDesC8(TInt,TInt)Type()constoperator!=(const TDesC8 &)constDetermines whether this descriptor's data is not equal to the specified descript...operator>(const TDesC8 &)constDetermines whether this descriptor's data is greater than the specified descript...operator>=(const TDesC8 &)constDetermines whether this descriptor's data is greater than or equal to the specif...operator<(const TDesC8 &)constDetermines whether this descriptor's data is less than the specified descriptor'...operator<=(const TDesC8 &)constDetermines whether this descriptor's data is less than or equal to the specified...operator==(const TDesC8 &)constDetermines whether this descriptor's data is equal to the specified descriptor's...operator[](TInt)constGets a reference to a single data item within this descriptor's data.Inherited from TPtrC8:
Set(const TDesC8 &)Sets the 8-bit non-modifiable pointer descriptor from the specified descriptor.Set(const TPtrC8 &)Sets the 8-bit non-modifiable pointer descriptor from the specified non-modifiab...Set(const TUint8 *,TInt)Sets the 8-bit non-modifiable pointer descriptor to point to the specified locat...TPtrC8(const TDesC8 &)Constructs the 8-bit non-modifiable pointer descriptor from any existing descrip...TPtrC8(const TUint8 *)Constructs the 8-bit non-modifiable pointer descriptor to point to a zero termin...TPtrC8(const TUint8 *,TInt)Constructs the 8-bit non-modifiable pointer descriptor to point to the specified...iPtrinline TPckgC(const T &aRef);
Constructs a packaged non-modifiable pointer descriptor to represent the specified object whose type is defined by the template parameter.
|
inline const T& operator()() const;
Gets a reference to the object represented by this packaged non-modifiable pointer descriptor.
|