CDelimitedDataBase8 Class Reference

class CDelimitedDataBase8 : public CBase

Dependencies : CBase, TDelimitedParserBase8 Comments : Provides functionality for creating and editing a delimited data object. Uses 8-bit descriptors

The object contains a descriptor buffer with the data. Functionality is provided to allow segments to be added or removed from the data. There is access to the internal delimited data parser to provide parsing functionality to be excercised on the created data.

This a base class that cannot be instantiated. It should be derived. The derived class must set the delimited data parser, which is an object derived from TDelimitedParserBase. This helper class must set the delimiting object

If the delimiting character has not been set, then calling any of the functionality will cause a panic KDelimitedParserErrNoDelimiter. 6.0

Inherits from

Public Member Functions
~CDelimitedDataBase8()
IMPORT_C voidAddBackDelimiterL()
IMPORT_C voidAddFrontDelimiterL()
IMPORT_C voidInsertCurrentL(const TDesC8 &)
IMPORT_C voidParse()
IMPORT_C voidParseReverse()
IMPORT_C const TDelimitedParserBase8 &Parser()
IMPORT_C voidPopBackL()
IMPORT_C voidPopFrontL()
IMPORT_C voidPushBackL(const TDesC8 &)
IMPORT_C voidPushFrontL(const TDesC8 &)
IMPORT_C voidRemoveCurrentL()
IMPORT_C voidTrimBackDelimiterL()
IMPORT_C voidTrimFrontDelimiterL()
Protected Member Functions
CDelimitedDataBase8()
IMPORT_C voidConstructL(const TDesC8 &)
IMPORT_C voidSetDelimiter(TChar)
Private Member Functions
voidDoInsertL(const TDesC8 &)
voidDoRemoveL()
voidSetData(HBufC8 *)
voidSetDataL(const TDesC8 &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
HBufC8 *iDataBuf
TDelimitedParserBase8 iParser

Constructor & Destructor Documentation

CDelimitedDataBase8()

IMPORT_CCDelimitedDataBase8()[protected]

~CDelimitedDataBase8()

IMPORT_C~CDelimitedDataBase8()

Member Functions Documentation

AddBackDelimiterL()

IMPORT_C voidAddBackDelimiterL()

AddFrontDelimiterL()

IMPORT_C voidAddFrontDelimiterL()

ConstructL(const TDesC8 &)

IMPORT_C voidConstructL(const TDesC8 &aData)[protected]

Parameters

const TDesC8 & aData

DoInsertL(const TDesC8 &)

voidDoInsertL(const TDesC8 &aSegment)[private]

Parameters

const TDesC8 & aSegment

DoRemoveL()

voidDoRemoveL()[private]

InsertCurrentL(const TDesC8 &)

IMPORT_C voidInsertCurrentL(const TDesC8 &aSegment)

Parameters

const TDesC8 & aSegment

Parse()

IMPORT_C voidParse()

ParseReverse()

IMPORT_C voidParseReverse()

Parser()

IMPORT_C const TDelimitedParserBase8 &Parser()const

PopBackL()

IMPORT_C voidPopBackL()

PopFrontL()

IMPORT_C voidPopFrontL()

PushBackL(const TDesC8 &)

IMPORT_C voidPushBackL(const TDesC8 &aSegment)

Parameters

const TDesC8 & aSegment

PushFrontL(const TDesC8 &)

IMPORT_C voidPushFrontL(const TDesC8 &aSegment)

Parameters

const TDesC8 & aSegment

RemoveCurrentL()

IMPORT_C voidRemoveCurrentL()

SetData(HBufC8 *)

voidSetData(HBufC8 *aDataBuf)[private]

Parameters

HBufC8 * aDataBuf

SetDataL(const TDesC8 &)

voidSetDataL(const TDesC8 &aData)[private]

Parameters

const TDesC8 & aData

SetDelimiter(TChar)

IMPORT_C voidSetDelimiter(TCharaDelimiter)[protected]

Parameters

TChar aDelimiter

TrimBackDelimiterL()

IMPORT_C voidTrimBackDelimiterL()

TrimFrontDelimiterL()

IMPORT_C voidTrimFrontDelimiterL()

Member Data Documentation

HBufC8 * iDataBuf

HBufC8 *iDataBuf[private]

Descriptor buffer.

TDelimitedParserBase8 iParser

TDelimitedParserBase8 iParser[private]

Parser object