| class CParserParam : public CBase |
A Versit property parameter.
A property parameter consists of a name and optionally a value, both in descriptor form. Parser properties (class CParserProperty) may own one or more property parameters.
Note:
The private parameter name and value members are stored as narrow (8-bit) rather than 16-bit Unicode descriptors.
However, certain member functions take or return a Unicode value, for the purpose of backwards compatibility. In this case a simple conversion takes place: this ignores the top 8 bits (for Unicode -> Narrow) or adds zero for the top 8-bits (for Narrow->Unicode).
| Public Member Functions | |
|---|---|
| ~CParserParam() | |
| IMPORT_C TInt | ExternalizeL(RWriteStream &) |
| IMPORT_C TInt | ExternalizeL(RWriteStream &, TInt &, CVersitParser *) |
| IMPORT_C TPtrC8 | Name() |
| IMPORT_C CParserParam * | NewL(const TDesC8 &, const TDesC8 &) |
| IMPORT_C CParserParam * | NewL(const TDesC8 &, const TDesC &) |
| IMPORT_C void | SetValueL(const TDesC8 &) |
| IMPORT_C void | SetValueL(HBufC8 *) |
| IMPORT_C TPtrC8 | Value() |
| IMPORT_C HBufC * | ValueL() |
| Private Member Functions | |
|---|---|
| CParserParam(HBufC8 *, HBufC8 *) | |
| Private Attributes | |
|---|---|
| HBufC8 * | iParamName |
| HBufC8 * | iValue |
| IMPORT_C TInt | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
| RWriteStream & aStream |
| IMPORT_C TInt | ExternalizeL | ( | RWriteStream & | aStream, |
| TInt & | aLengthOutput, | |||
| CVersitParser * | aVersitParser | |||
| ) | const | |||
| RWriteStream & aStream | |
| TInt & aLengthOutput | |
| CVersitParser * aVersitParser |
| IMPORT_C CParserParam * | NewL | ( | const TDesC8 & | aName, |
| const TDesC8 & | aValue | |||
| ) | [static] | |||
| IMPORT_C CParserParam * | NewL | ( | const TDesC8 & | aName, |
| const TDesC & | aValue | |||
| ) | [static] | |||
| IMPORT_C void | SetValueL | ( | const TDesC8 & | aValue | ) |
| const TDesC8 & aValue |