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
Public Member Functions | |
---|---|
~CDelimitedDataBase8() | |
IMPORT_C void | AddBackDelimiterL() |
IMPORT_C void | AddFrontDelimiterL() |
IMPORT_C void | InsertCurrentL(const TDesC8 &) |
IMPORT_C void | Parse() |
IMPORT_C void | ParseReverse() |
IMPORT_C const TDelimitedParserBase8 & | Parser() |
IMPORT_C void | PopBackL() |
IMPORT_C void | PopFrontL() |
IMPORT_C void | PushBackL(const TDesC8 &) |
IMPORT_C void | PushFrontL(const TDesC8 &) |
IMPORT_C void | RemoveCurrentL() |
IMPORT_C void | TrimBackDelimiterL() |
IMPORT_C void | TrimFrontDelimiterL() |
Protected Member Functions | |
---|---|
CDelimitedDataBase8() | |
IMPORT_C void | ConstructL(const TDesC8 &) |
IMPORT_C void | SetDelimiter(TChar) |
Private Member Functions | |
---|---|
void | DoInsertL(const TDesC8 &) |
void | DoRemoveL() |
void | SetData(HBufC8 *) |
void | SetDataL(const TDesC8 &) |
Private Attributes | |
---|---|
HBufC8 * | iDataBuf |
TDelimitedParserBase8 | iParser |
IMPORT_C void | ConstructL | ( | const TDesC8 & | aData | ) | [protected] |
const TDesC8 & aData |
void | DoInsertL | ( | const TDesC8 & | aSegment | ) | [private] |
const TDesC8 & aSegment |
IMPORT_C void | InsertCurrentL | ( | const TDesC8 & | aSegment | ) |
const TDesC8 & aSegment |
IMPORT_C void | PushBackL | ( | const TDesC8 & | aSegment | ) |
const TDesC8 & aSegment |
IMPORT_C void | PushFrontL | ( | const TDesC8 & | aSegment | ) |
const TDesC8 & aSegment |
IMPORT_C void | SetDelimiter | ( | TChar | aDelimiter | ) | [protected] |
TChar aDelimiter |