MAiStrParser Class Reference

class MAiStrParser

It is the interface for handling string parsing.

Since
S60 3.2

Constructor & Destructor Documentation

~MAiStrParser()

~MAiStrParser ( ) [protected, inline]

Member Functions Documentation

CopyToBufferL(HBufC16 *, const TDesC16 &)

HBufC16 * CopyToBufferL ( HBufC16 * aBuffer,
const TDesC16 & aText
) [pure virtual]

Copies aText to aBuffer.

Parameters

HBufC16 * aBuffer a buffer to hold text. If aBuffer is NULL or insufficient, the function allocates a buffer.
const TDesC16 & aText the text to copy.

CopyToBufferL(HBufC16 *, const TDesC8 &)

HBufC16 * CopyToBufferL ( HBufC16 * aBuffer,
const TDesC8 & aText
) [pure virtual]

Copies and converts aText to aBuffer. UTF-8 to UCS-2 conversion is applied to aText.

Parameters

HBufC16 * aBuffer a buffer to hold text. If aBuffer is NULL or insufficient, the function allocates a buffer.
const TDesC8 & aText the text to copy.

CopyToBufferL(HBufC8 *, const TDesC8 &)

HBufC8 * CopyToBufferL ( HBufC8 * aBuffer,
const TDesC8 & aText
) [pure virtual]

Copies aText to aBuffer.

Parameters

HBufC8 * aBuffer a buffer to hold text. If aBuffer is NULL or insufficient, the function allocates a buffer.
const TDesC8 & aText the text to copy.

CopyToBufferL(HBufC8 *, const TDesC16 &)

HBufC8 * CopyToBufferL ( HBufC8 * aBuffer,
const TDesC16 & aText
) [pure virtual]

Copies and converts aText to aBuffer. UCS-2 to UTF-8 conversion is applied to aText.

Parameters

HBufC8 * aBuffer a buffer to hold text. If aBuffer is NULL or insufficient, the function allocates a buffer.
const TDesC16 & aText the text to copy.

ParseInt(TInt32 &, const TDesC8 &)

TInt ParseInt ( TInt32 & aValue,
const TDesC8 & aStringValue
) [pure virtual]

Parses an integer value from string. The string may contain the integer value either in hexadecimal or decimal format.

Parameters

TInt32 & aValue the result integer value
const TDesC8 & aStringValue the source string

Release()

void Release ( ) [pure virtual]

Release the parser