BSUL::CIniFile16 Class Reference
Link against: bsulinifile.lib
class BSUL::CIniFile16 : public CBase |
Detailed Description
A light weight parser for reading setting values from a 16 or 8 bit ini file. The aConvert8To16 parameter of NewL controls whether or not 8 bit files are accepted. Note that this does not guarantee checking that the ini file is wellformed.
Constructor & Destructor Documentation
Member Function Documentation
FindVar ( const TDesC16 &, const TDesC16 &, TPtrC16 & )
Get the value of a key within a section
Parameter | Description | aSectionName | the section where the key resides |
aKeyName | the key name |
aValue | pointer to the key value |
Returns: KErrNotFound if either section or keyname not found KErrNone if successful
NewL ( RFs &, const TDesC & )
Creates a 16 bit light weight parser
- leave
- KErrNoMemory if not enough memory KErrNotFound if the supplied file does not exist
Parameter | Description | aFs | the handle to the file session |
aFileName | the ini file name to open |
Returns: A pointer to a newly created CIniFile16 object
NewL ( RFs &, const TDesC &, TBool )
Creates a 16 bit light weight parser
- leave
- KErrNoMemory if not enough memory KErrNotFound if the supplied file does not exist
Parameter | Description | aFs | the handle to the file session |
aFileName | the ini file name to open |
aConvert8To16 | upconvert 8 bit files otherwise leave with KErrCorrupt |
Returns: A pointer to a newly created CIniFile16 object