BSUL::CIniSecIter8 Class Reference

class BSUL::CIniSecIter8 : public CBase

Section iterator for 8 bit ini file. This class provides an iterator to navigate through the settings within a section inside an 8 bit ini file.

Inherits from

Constructor & Destructor Documentation

CIniSecIter8()

CIniSecIter8()[private]

~CIniSecIter8()

IMPORT_C~CIniSecIter8()

Destructor

Member Functions Documentation

End()

IMPORT_C TBoolEnd()

Look ahead in the section to check whether there is still any keyvalue pair in the section to be read

NewL(const TDesC8 &, const CIniDocument8 *)

IMPORT_C CIniSecIter8 *NewL(const TDesC8 &aSectionName,
const CIniDocument8 *aIniDocument
)[static]
Creates a 8 bit section content iterator this iterator is used to navigate through the key value pairs within the section.Useful when the number of keys within the section is unknown.
leave
KErrNoMemory if not enough memory KErrArgument if aIniDocument is NULL

Parameters

const TDesC8 & aSectionNamethe name of the section to iterate
const CIniDocument8 * aIniDocumentthe document object containing the section

Next(TPtrC8 &, TPtrC8 &)

IMPORT_C TBoolNext(TPtrC8 &aKey,
TPtrC8 &aValue
)
Return the next key value pair within the section
Post-condition
the iterator points to the next available keyvalue pair the aKeyName points to the key name the aKeyValue points to the key value

Parameters

TPtrC8 & aKeya pointer to contain the key name
TPtrC8 & aValuea pointer to contain the key value

Reset()

IMPORT_C voidReset()
Reset the iterator to point to the first keypair value within the section.
Post-condition
the iterator now points to first keypair in the section

Member Data Documentation

CIniSecIter8Impl * iImpl

CIniSecIter8Impl *iImpl[private]