![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behaviour. |
CParserPropertyValue |
Abstract: Base class for all property values. |
vprop.h
versit.lib
This class encapsulates a property value stored in a heap descriptor. For example, a summary property value in a vCalendar entity might be stored using this class.
To find out the property value type, use Uid() defined in the base class CParserPropertyValue. A heap descriptor property UID has the value KVersitPropertyHBufCUid.
The class defines an ExternalizeL() function which has not been documented. It is invoked by the parser's ExternalizeL() function.
CParserPropertyValueHBufC* NewL(const TDesC& aValue);
Use this function to allocate and construct a new heap descriptor property value, from the descriptor specified.
const TDesC& aValue |
The property value. |
CParserPropertyValueHBufC* |
Pointer to the newly created heap descriptor property value. |
CParserPropertyValueHBufC* NewLC(const TDesC& aValue);
Use this function to allocate and construct a new heap descriptor property value, from the descriptor specified.
This function leaves the property value object on the cleanup stack.
const TDesC& aValue |
The property value. |
CParserPropertyValueHBufC* |
Pointer to the newly created heap descriptor property value. |
~CParserPropertyValueHBufC();
The destructor frees all resources owned by the property value, prior to its destruction.
TPtrC Value() const;
This function retrieves the property value. If no value has been set, the function returns an empty descriptor.
TPtrC |
Constant pointer descriptor representing the property value. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |