LibreOffice Module comphelper (master) 1
|
#include <configuration.hxx>
Public Member Functions | |
bool | isReadOnly (OUString const &path) const |
css::uno::Any | getPropertyValue (OUString const &path) const |
css::uno::Any | getLocalizedPropertyValue (std::u16string_view path) const |
css::uno::Reference< css::container::XHierarchicalNameAccess > | getGroupReadOnly (OUString const &path) const |
css::uno::Reference< css::container::XNameAccess > | getSetReadOnly (OUString const &path) const |
std::shared_ptr< ConfigurationChanges > | createChanges () const |
Static Public Member Functions | |
static ConfigurationWrapper const & | get () |
static void | setPropertyValue (std::shared_ptr< ConfigurationChanges > const &batch, OUString const &path, css::uno::Any const &value) |
static void | setLocalizedPropertyValue (std::shared_ptr< ConfigurationChanges > const &batch, OUString const &path, css::uno::Any const &value) |
static css::uno::Reference< css::container::XHierarchicalNameReplace > | getGroupReadWrite (std::shared_ptr< ConfigurationChanges > const &batch, OUString const &path) |
static css::uno::Reference< css::container::XNameContainer > | getSetReadWrite (std::shared_ptr< ConfigurationChanges > const &batch, OUString const &path) |
Private Member Functions | |
SAL_DLLPRIVATE | ConfigurationWrapper () |
SAL_DLLPRIVATE | ~ConfigurationWrapper () |
ConfigurationWrapper (const ConfigurationWrapper &)=delete | |
ConfigurationWrapper & | operator= (const ConfigurationWrapper &)=delete |
Private Attributes | |
css::uno::Reference< css::uno::XComponentContext > | context_ |
css::uno::Reference< css::configuration::XReadWriteAccess > | access_ |
std::mutex | maMutex |
bool | mbDisposed |
std::unordered_map< OUString, css::uno::Any > | maPropertyCache |
css::uno::Reference< css::util::XChangesNotifier > | maNotifier |
css::uno::Reference< css::util::XChangesListener > | maListener |
Friends | |
class | ConfigurationChangesListener |
Definition at line 91 of file configuration.hxx.
|
explicitprivate |
Definition at line 134 of file configuration.cxx.
References access_, ConfigurationChangesListener, context_, context_, create(), maListener, maNotifier, and u.
|
private |
Definition at line 165 of file configuration.cxx.
|
privatedelete |
std::shared_ptr< comphelper::ConfigurationChanges > comphelper::detail::ConfigurationWrapper::createChanges | ( | ) | const |
Definition at line 268 of file configuration.cxx.
References context_.
Referenced by comphelper::ConfigurationChanges::create().
|
static |
Definition at line 104 of file configuration.cxx.
Referenced by comphelper::ConfigurationChanges::create(), comphelper::ConfigurationProperty< T, U >::get(), comphelper::ConfigurationLocalizedProperty< T, U >::get(), comphelper::ConfigurationGroup< T >::get(), comphelper::ConfigurationSet< T >::get(), and comphelper::ConfigurationProperty< T, U >::isReadOnly().
css::uno::Reference< css::container::XHierarchicalNameAccess > comphelper::detail::ConfigurationWrapper::getGroupReadOnly | ( | OUString const & | path | ) | const |
Definition at line 228 of file configuration.cxx.
References context_.
Referenced by comphelper::ConfigurationGroup< T >::get().
|
static |
Definition at line 239 of file configuration.cxx.
Referenced by comphelper::ConfigurationGroup< T >::get().
css::uno::Any comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue | ( | std::u16string_view | path | ) | const |
Definition at line 212 of file configuration.cxx.
css::uno::Any comphelper::detail::ConfigurationWrapper::getPropertyValue | ( | OUString const & | path | ) | const |
Definition at line 181 of file configuration.cxx.
css::uno::Reference< css::container::XNameAccess > comphelper::detail::ConfigurationWrapper::getSetReadOnly | ( | OUString const & | path | ) | const |
Definition at line 248 of file configuration.cxx.
References context_.
Referenced by comphelper::ConfigurationSet< T >::get().
|
static |
Definition at line 259 of file configuration.cxx.
Referenced by comphelper::ConfigurationSet< T >::get().
bool comphelper::detail::ConfigurationWrapper::isReadOnly | ( | OUString const & | path | ) | const |
Definition at line 172 of file configuration.cxx.
References access_.
Referenced by comphelper::ConfigurationProperty< T, U >::isReadOnly().
|
privatedelete |
|
static |
Definition at line 219 of file configuration.cxx.
References value.
Referenced by comphelper::ConfigurationLocalizedProperty< T, U >::set().
|
static |
Definition at line 203 of file configuration.cxx.
References value.
Referenced by comphelper::ConfigurationProperty< T, U >::set().
|
friend |
Definition at line 92 of file configuration.hxx.
Referenced by ConfigurationWrapper().
|
private |
Definition at line 141 of file configuration.hxx.
|
private |
Definition at line 139 of file configuration.hxx.
Referenced by ConfigurationWrapper().
|
private |
Definition at line 151 of file configuration.hxx.
Referenced by ConfigurationWrapper(), and comphelper::detail::ConfigurationChangesListener::disposing().
|
mutableprivate |
Definition at line 147 of file configuration.hxx.
Referenced by comphelper::detail::ConfigurationChangesListener::changesOccurred(), and comphelper::detail::ConfigurationChangesListener::disposing().
|
private |
Definition at line 150 of file configuration.hxx.
Referenced by ConfigurationWrapper(), and comphelper::detail::ConfigurationChangesListener::disposing().
|
mutableprivate |
Definition at line 149 of file configuration.hxx.
Referenced by comphelper::detail::ConfigurationChangesListener::changesOccurred(), and comphelper::detail::ConfigurationChangesListener::disposing().
|
private |
Definition at line 148 of file configuration.hxx.
Referenced by comphelper::detail::ConfigurationChangesListener::disposing().