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.
Constructor & Destructor Documentation
Member Functions Documentation
End()
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 *)
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 & aSectionName | the name of the section to iterate |
const CIniDocument8 * aIniDocument | the document object containing the section |
Next(TPtrC8 &, TPtrC8 &)
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 & aKey | a pointer to contain the key name |
TPtrC8 & aValue | a pointer to contain the key value |
Reset()
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
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.