BSUL::CIniSecIter16 Class Reference
class BSUL::CIniSecIter16 : public CBase |
Section iterator for 16 bit ini file. This class provides an iterator to navigate through the settings within a section inside an 16 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 TDesC16 &, const CIniDocument16 *)
Creates a 16 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 TDesC16 & aSectionName | the name of the section to iterate |
const CIniDocument16 * aIniDocument | the document object containing the section |
Next(TPtrC16 &, TPtrC16 &)
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
TPtrC16 & aKey | a pointer to contain the key name |
TPtrC16 & 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
CIniSecIter16Impl * iImpl
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.