CICalContentLineReader Class Reference

class CICalContentLineReader : public CBase

Class for reading in content lines from a stream.

Inherits from

Constructor & Destructor Documentation

CICalContentLineReader(RReadStream &)

CICalContentLineReader ( RReadStream & aStream ) [private]

Default constructor.

Parameters

RReadStream & aStream A stream containing iCalendar information to import.

~CICalContentLineReader()

~CICalContentLineReader ( )

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Second phase construction.

GetLineL(TPtr &)

void GetLineL ( TPtr & aPtr ) [private]
Reads from the stream to the next line feed.
leave
With KErrEof when the end of the stream is reached or KErrCorrupt if the line is invalid.

Parameters

TPtr & aPtr A modifiable pointer to a buffer to read the line into.

GetNextContentLine(TPtrC &)

TInt GetNextContentLine ( TPtrC & aPtr )

Reads the next content line from the stream into aPtr. If the content line has been folded, it will be unfolded. After completion aPtr will point to the new content line

Parameters

TPtrC & aPtr TPtrC& to set to the new content line.

GetNextContentLineL()

void GetNextContentLineL ( ) [private]
Reads the next content line from the stream into aPtr. If the content line has been folded, it will be unfolded. After completion aPtr will point to the new content line
leave
Leaves with KErrEof when we reach the end of the stream.

NewL(RReadStream &)

CICalContentLineReader * NewL ( RReadStream & aStream ) [static]

Allocates and constructs a new CICalContentLineReader .

Parameters

RReadStream & aStream A stream containing iCalendar information to import.

NewLC(RReadStream &)

CICalContentLineReader * NewLC ( RReadStream & aStream ) [static]

Allocates and constructs a new CICalContentLineReader . The pointer to the new object is left on the Cleanup Stack.

Parameters

RReadStream & aStream A stream containing iCalendar information to import.

SkipComponentL(const TDesC &)

void SkipComponentL ( const TDesC & aName )
Reads from the stream discarding lines until a matching 'END:' directive is reached.
leave
KErrCorrupt if a matching END is not found.

Parameters

const TDesC & aName The name of the component we are skipping.

Member Enumerations Documentation

Enum Flags

Enumerators

EEof = 1

Member Data Documentation

HBufC * iCurrentLine

HBufC * iCurrentLine [private]

TInt iFlags

TInt iFlags [private]

HBufC * iNextLine

HBufC * iNextLine [private]

RReadStream & iReadStream

RReadStream & iReadStream [private]