![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behaviour. |
vprop.h
versit.lib
A generic property parameter class, consisting of a name and optionally a value, both in descriptor form.
A parser property (class CParserProperty) may own one or more property parameters.
CParserParam* NewL(const TDesC& aName,const TDesC* aValue);
Use this function to allocate and construct a new property parameter with the name and value specified. The property parameter does not take ownership of the name or value.
const TDesC& aName |
The parameter name. |
const TDesC* aValue |
Pointer to the parameter value. NULL if not applicable. |
CParserParam* |
Pointer to the newly created property parameter. |
~CParserParam();
The destructor frees all resources owned by the property parameter, prior to its destruction.
TPtrC Name() const;
Retrieves the property parameter name.
If no name has been set, the function returns an empty descriptor.
TPtrC |
The property parameter name. |
TPtrC Value() const;
Retrieves the property parameter value.
If no value has been set, the function returns an empty descriptor.
TPtrC |
The property parameter value. |
void SetValueL(const TDesC& aValue);
Sets the property parameter value.
Any existing value is replaced by the value specified.
The property parameter does not take ownership of aValue.
const TDesC& aValue |
The new property parameter value. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |