class CParserPropertyValueHBufC : public CParserPropertyValue |
A heap descriptor property value parser.
Many properties are stored using this class. Examples are vCard e-mails and vCalendar locations.
The UID for a heap descriptor property value is KVersitPropertyHBufCUid.
Public Member Functions | |
---|---|
CParserPropertyValueHBufC(HBufC16 *) | |
~CParserPropertyValueHBufC() | |
IMPORT_C void | ExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt) |
IMPORT_C TBool | IsAsciiCharacterSetSufficient() |
IMPORT_C CParserPropertyValueHBufC * | NewL(const TDesC &) |
IMPORT_C HBufC * | TakeValueOwnership() |
IMPORT_C CParserPropertyValueCDesCArray * | TreatAsArrayPropertyLC(const CParserProperty &) |
IMPORT_C TPtrC | Value() |
Private Member Functions | |
---|---|
CParserPropertyValueHBufC() | |
void | ConstructL(const TDesC &) |
Protected Attributes | |
---|---|
HBufC * | iValue |
IMPORT_C | CParserPropertyValueHBufC | ( | HBufC16 * | aValue | ) |
HBufC16 * aValue |
void | ConstructL | ( | const TDesC & | aValue | ) | [private] |
const TDesC & aValue |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
TInt | aLengthOutput | |||
) | [virtual] |
Externalises the property value to a write stream.
Implementations of this function are invoked by the parser's ExternalizeL() function.
RWriteStream & aStream | Stream to which the property value is externalised. |
const Versit::TEncodingAndCharset & aEncodingCharset | The character set and encoding information. |
TInt aLengthOutput | The amount of text that has been outputted so far on the line (for the property name), which may need to be taken into account when calculating if and where any line break should occur. |
IMPORT_C CParserPropertyValueHBufC * | NewL | ( | const TDesC & | aValue | ) | [static] |
const TDesC & aValue |
IMPORT_C CParserPropertyValueCDesCArray * | TreatAsArrayPropertyLC | ( | const CParserProperty & | aOwningProperty | ) | const |
const CParserProperty & aOwningProperty |