| class CIniFileData : public CBase |
Defines an interface to access the ini data file
| Public Member Functions | |
|---|---|
| ~CIniFileData () | |
| TBool | FindVar (const TDesC &, const TDesC &, TPtrC &) |
| CIniFileData * | NewL (const TDesC &) |
| Private Member Functions | |
|---|---|
| CIniFileData () | |
| void | ConstructL (const TDesC &) |
| Private Attributes | |
|---|---|
| HBufC * | iName |
| TPtr | iPtr |
| HBufC * | iToken |
| ~CIniFileData | ( | ) | [virtual] |
Destructor.
Frees the resources located in second-phase constructor
| void | ConstructL | ( | const TDesC & | aName | ) | [private] |
Second-phase constructor.
The function attempts to allocate a buffer and Read file's contents into iPtr
| const TDesC & aName | the name of the file which contains the ini data |
| TBool | FindVar | ( | const TDesC & | aSectName, |
| const TDesC & | aKeyName, | |||
| TPtrC & | aResult | |||
| ) | ||||
Find a text value from given aKeyName and aSecName in the ini data file
| CIniFileData * | NewL | ( | const TDesC & | aName | ) | [static] |
Creates, and returns a pointer to CIniFileData object, leave on failure
| const TDesC & aName |
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.