Location:
vprop.h
Link against: versit.lib
CParserParam
Supported from 5.0
A versit property parameter. It consists of a name and optionally a
value, both in descriptor form. A parser property (class
CParserProperty
) may own one or more property parameters.
|
Defined in CParserParam
:
EscapeParameter()
, Name()
, NewL()
, SetValueL()
, Value()
, ~CParserParam()
Inherited from CBase
:
operator new()
CParserParam* NewL(const TDesC& aName,const TDesC* aValue);
Allocates and constructs a new property parameter with the name and value specified. The property parameter does not take ownership of the name or value.
|
|
~CParserParam();
Frees all resources owned by the property parameter, prior to its destruction.
TPtrC Name() const;
Gets the property parameter name. If no name has been set, the function returns an empty descriptor.
|
TPtrC Value() const;
Gets the property parameter value. If no value has been set, the function returns an empty descriptor.
|
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
.
|
static void EscapeParameter(const TDesC& aSource, TDes& aDestination);
Supported from 5.1
Adds a backslash character to the property parameter value to escape any semi-colons or backslashes in the value. Used when externalising a property parameter value to a write stream.
|