(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: osl ::

class Profile


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
D E P R E C A T E D
Summary
Deprecated API.
File
profile.hxx

Public Members

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

Private Members

Data

oslProfile profile;

Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.