Location:
VPROP.H
Link against: versit.lib
class CParserPropertyValueCDesCArray : public CParserPropertyValue;
A property value parser which stores an array of descriptors.
Can be used by both vCards and vCalendars, for example to store a postal address or information about an organisation.
The UID for a descriptor array property value is KVersitPropertyCDesCArrayUid.
CBase
- Base class for all classes to be instantiated on the heap
CParserPropertyValue
- Abstract base class for all property values
CParserPropertyValueCDesCArray
- A property value parser which stores an array of descriptors
Defined in CParserPropertyValueCDesCArray
:
CParserPropertyValueCDesCArray()
, ExternalizeL()
, IsAsciiCharacterSetSufficient()
, IsPresent()
, Value()
, iValue
, ~CParserPropertyValueCDesCArray()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CParserPropertyValue
:
Append()
,
EncodeL()
,
FoldAndWriteValueToStreamL()
,
FoldEncodeAndWriteValueToStreamL()
,
PlugIn()
,
SetPlugIn()
,
SupportsInterface()
,
Uid()
IMPORT_C CParserPropertyValueCDesCArray(CDesCArray *aValue);
Constructs a new descriptor array property value with the array pointed to by aValue.
Sets the property value's UID to KVersitPropertyCDesCArrayUid.
The property value takes ownership of aValue.
Called by CVersitParser::MakePropertyValueL()
when internalising from a stream.
|
IMPORT_C ~CParserPropertyValueCDesCArray();
Frees all resources owned by the property value array, prior to its destruction.
inline CDesCArray *Value() const;
Gets the property value.
|
IMPORT_C TBool IsPresent(const TDesC &aValue) const;
Tests whether a specified value is present in the array of descriptors owned by the property value object.
Not used internally.
|
|
virtual IMPORT_C TBool IsAsciiCharacterSetSufficient();
Tests whether the property value can be represented using the ASCII character set.
Tests every item in the array and returns ETrue only if all items contain only 7-bit characters.
|
virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &aEncodingCharset, TInt aLengthOutput);
Externalizes the descriptor array property value into aStream.
Uses the character set and encoding format specified in aEncodingCharset.
Called by CParserProperty::ExternalizeL()
.
|
protected: CDesCArray * iValue;