CESockIniData Class Reference

class CESockIniData : public CBase

Inherits from

Constructor & Destructor Documentation

CESockIniData()

IMPORT_C CESockIniData ( ) [protected]

CESockIniData(const CommsFW::COwnEntryList *)

IMPORT_C CESockIniData ( const CommsFW::COwnEntryList * aFileList ) [protected]

Parameters

const CommsFW::COwnEntryList * aFileList

~CESockIniData()

IMPORT_C ~CESockIniData ( ) [virtual]

Member Functions Documentation

CommitL()

IMPORT_C void CommitL ( )

ConstructL(const TDesC &)

IMPORT_C void ConstructL ( const TDesC & aName ) [protected]

Allocate a buffer and Read file's contents into iPtr

Parameters

const TDesC & aName

FindVar(const TDesC &, TPtrC &)

IMPORT_C TBool FindVar ( const TDesC & aVarName,
TPtrC & aResult
) const

Parameters

const TDesC & aVarName
TPtrC & aResult

FindVar(const TDesC &, TInt &)

IMPORT_C TBool FindVar ( const TDesC & aVarName,
TInt & aResult
) const

Parameters

const TDesC & aVarName
TInt & aResult

FindVar(const TDesC &, const TDesC &, TPtrC &)

IMPORT_C TBool FindVar ( const TDesC & aSection,
const TDesC & aVarName,
TPtrC & aResult
) const

Find a variable's value given a section name and a var name

Parameters

const TDesC & aSection
const TDesC & aVarName
TPtrC & aResult

FindVar(const TDesC &, const TDesC &, TInt &)

IMPORT_C TBool FindVar ( const TDesC & aSection,
const TDesC & aVarName,
TInt & aResult
) const

Parameters

const TDesC & aSection
const TDesC & aVarName
TInt & aResult

NewL(const TDesC &)

IMPORT_C CESockIniData * NewL ( const TDesC & aName = ESOCK_INI_DATA ) [static]

Parameters

const TDesC & aName = ESOCK_INI_DATA

NewL(const CommsFW::COwnEntryList *)

IMPORT_C CESockIniData * NewL ( const CommsFW::COwnEntryList * aFileList ) [static]

Parameters

const CommsFW::COwnEntryList * aFileList

WriteVar(const TDesC &, const TDesC &, TInt)

IMPORT_C TInt WriteVar ( const TDesC & aSection,
const TDesC & aVarName,
TInt aValue
)

Changes the string associated with a token

Parameters

const TDesC & aSection
const TDesC & aVarName
TInt aValue

WriteVar(const TDesC &, const TDesC &, const TDesC &)

IMPORT_C TInt WriteVar ( const TDesC & aSection,
const TDesC & aVarName,
const TDesC & aValue
)

Changes the string associated with a token

Parameters

const TDesC & aSection
const TDesC & aVarName
const TDesC & aValue

Member Data Documentation

const CommsFW::COwnEntryList * iFileList

const CommsFW::COwnEntryList * iFileList [protected]

HBufC * iName

HBufC * iName [protected]

TPtr iPtr

TPtr iPtr [protected]

HBufC * iToken

HBufC * iToken [protected]