BSUL::CIniFile8 Class Reference

class BSUL::CIniFile8 : public CBase

A light weight parser for reading setting values from an 8 bit ini file. Note that this does not guarantee checking that the ini file is wellformed. See CIniFile16 for a class that handles both 8 and 16 bit files.

Inherits from

Constructor & Destructor Documentation

CIniFile8()

CIniFile8 ( ) [private]

~CIniFile8()

IMPORT_C ~CIniFile8 ( )

Public destructor

Member Functions Documentation

FindVar(const TDesC8 &, const TDesC8 &, TPtrC8 &)

IMPORT_C TInt FindVar ( const TDesC8 & aSectionName,
const TDesC8 & aKeyName,
TPtrC8 & aValue
) const

Get the value of a key within a section

Parameters

const TDesC8 & aSectionName the section where the key resides
const TDesC8 & aKeyName the key name
TPtrC8 & aValue pointer to the key value

NewL(RFs &, const TDesC &)

IMPORT_C CIniFile8 * NewL ( RFs & aFs,
const TDesC & aFileName
) [static]
Creates a 8 bit light weight parser
leave
KErrNoMemory if not enough memory KErrNotFound if the supplied file does not exist

Parameters

RFs & aFs the handle to the file session
const TDesC & aFileName the ini file name to open

Member Data Documentation

CIniFile8Impl * iImpl

CIniFile8Impl * iImpl [private]