LibreOffice Module comphelper (master) 1
|
A batch of configuration changes that is committed as a whole. More...
#include <configuration.hxx>
Public Member Functions | |
~ConfigurationChanges () | |
void | commit () const |
Static Public Member Functions | |
static std::shared_ptr< ConfigurationChanges > | create () |
Private Member Functions | |
ConfigurationChanges (const ConfigurationChanges &)=delete | |
ConfigurationChanges & | operator= (const ConfigurationChanges &)=delete |
SAL_DLLPRIVATE | ConfigurationChanges (css::uno::Reference< css::uno::XComponentContext > const &context) |
SAL_DLLPRIVATE void | setPropertyValue (OUString const &path, css::uno::Any const &value) const |
SAL_DLLPRIVATE css::uno::Reference< css::container::XHierarchicalNameReplace > | getGroup (OUString const &path) const |
SAL_DLLPRIVATE css::uno::Reference< css::container::XNameContainer > | getSet (OUString const &path) const |
Private Attributes | |
css::uno::Reference< css::configuration::XReadWriteAccess > | access_ |
Friends | |
class | detail::ConfigurationWrapper |
A batch of configuration changes that is committed as a whole.
Client code needs to call commit explicitly; otherwise the changes are lost when the instance is destroyed.
This is the only class from this header file that client code should use directly.
Definition at line 52 of file configuration.hxx.
comphelper::ConfigurationChanges::~ConfigurationChanges | ( | ) |
Definition at line 70 of file configuration.cxx.
|
privatedelete |
|
private |
Definition at line 76 of file configuration.cxx.
void comphelper::ConfigurationChanges::commit | ( | ) | const |
Definition at line 72 of file configuration.cxx.
References access_.
|
static |
Definition at line 65 of file configuration.cxx.
References comphelper::detail::ConfigurationWrapper::createChanges(), and comphelper::detail::ConfigurationWrapper::get().
|
private |
Definition at line 90 of file configuration.cxx.
References access_.
|
private |
Definition at line 97 of file configuration.cxx.
References access_.
|
privatedelete |
References setPropertyValue().
|
private |
Definition at line 83 of file configuration.cxx.
|
friend |
Definition at line 83 of file configuration.hxx.
|
private |
Definition at line 81 of file configuration.hxx.