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 TIntFindVar(const TDesC8 &aSectionName,
const TDesC8 &aKeyName,
TPtrC8 &aValue
)const

Get the value of a key within a section

Parameters

const TDesC8 & aSectionNamethe section where the key resides
const TDesC8 & aKeyNamethe key name
TPtrC8 & aValuepointer 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 & aFsthe handle to the file session
const TDesC & aFileNamethe ini file name to open

Member Data Documentation

CIniFile8Impl * iImpl

CIniFile8Impl *iImpl[private]