CESMRICalContentLineReader Class Reference

class CESMRICalContentLineReader : public CBase

Class for reading in content lines from a stream.

Inherits from

  • CESMRICalContentLineReader

Constructor & Destructor Documentation

CESMRICalContentLineReader(RReadStream &)

CESMRICalContentLineReader(RReadStream &aStream)[private]

Parameters

RReadStream & aStream

~CESMRICalContentLineReader()

~CESMRICalContentLineReader()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

GetLineL(TPtr &)

voidGetLineL(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 & aPtrA modifiable pointer to a buffer to read the line into.

GetNextContentLine(TPtrC &)

TInt GetNextContentLine(TPtrC &aPtr)

Parameters

TPtrC & aPtr

GetNextContentLineL()

voidGetNextContentLineL()[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 &)

CESMRICalContentLineReader *NewL(RReadStream &aStream)[static]

Parameters

RReadStream & aStream

NewLC(RReadStream &)

CESMRICalContentLineReader *NewLC(RReadStream &aStream)[static]

Parameters

RReadStream & aStream

SkipComponentL(const TDesC &)

voidSkipComponentL(const TDesC &aName)

Parameters

const TDesC & aName

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]