Deprecated API.
More...
#include <profile.hxx>
List of all members.
Public Member Functions |
| Profile (const rtl::OUString strProfileName, oslProfileOption Options=Profile_DEFAULT) |
| Open or create a configuration profile.
|
| ~Profile () |
| Close the opened profile an flush all data to the disk.
|
sal_Bool | flush () |
rtl::OString | readString (const rtl::OString &rSection, const rtl::OString &rEntry, const rtl::OString &rDefault) |
sal_Bool | readBool (const rtl::OString &rSection, const rtl::OString &rEntry, sal_Bool bDefault) |
sal_uInt32 | readIdent (const rtl::OString &rSection, const rtl::OString &rEntry, sal_uInt32 nFirstId, const std::list< rtl::OString > &rStrings, sal_uInt32 nDefault) |
sal_Bool | writeString (const rtl::OString &rSection, const rtl::OString &rEntry, const rtl::OString &rString) |
sal_Bool | writeBool (const rtl::OString &rSection, const rtl::OString &rEntry, sal_Bool Value) |
sal_Bool | writeIdent (const rtl::OString &rSection, const rtl::OString &rEntry, sal_uInt32 nFirstId, const std::list< rtl::OString > &rStrings, sal_uInt32 nValue) |
sal_Bool | removeEntry (const rtl::OString &rSection, const rtl::OString &rEntry) |
| Remove an entry from a section.
|
std::list< rtl::OString > | getSectionEntries (const rtl::OString &rSection) |
| Get all entries belonging to the specified section.
|
std::list< rtl::OString > | getSections () |
| Get all section entries.
|
Detailed Description
Deprecated API.
- Deprecated:
Constructor & Destructor Documentation
Open or create a configuration profile.
- Returns:
- 0 if the profile could not be created, otherwise a handle to the profile.
osl::Profile::~Profile |
( |
| ) |
[inline] |
Close the opened profile an flush all data to the disk.
Member Function Documentation
sal_Bool osl::Profile::flush |
( |
| ) |
[inline] |
Get all entries belonging to the specified section.
- Parameters:
-
rSection | Name of the section. |
- Returns:
- Pointer to a array of pointers.
std::list< rtl::OString > osl::Profile::getSections |
( |
| ) |
[inline] |
Get all section entries.
- Returns:
- Pointer to a array of pointers.
sal_uInt32 osl::Profile::readIdent |
( |
const rtl::OString & |
rSection, |
|
|
const rtl::OString & |
rEntry, |
|
|
sal_uInt32 |
nFirstId, |
|
|
const std::list< rtl::OString > & |
rStrings, |
|
|
sal_uInt32 |
nDefault |
|
) |
| [inline] |
Remove an entry from a section.
- Parameters:
-
rSection | Name of the section. |
rEntry | Name of the entry to remove. |
- Returns:
- False if section or entry could not be found.
The documentation for this class was generated from the following file: