Overview | Namespace | Class | Index | Help |
PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
PRIVATE MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA |
virtual | abstract | interface | template |
NO | NO | NO | NO |
Methods |
|
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 ); |
Acquire the mutex, block if already acquired by another thread. |
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 |
Data |
|
oslProfile profile; |
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.