LibreOffice Module comphelper (master)
1
|
A type-safe wrapper around a localized configuration property. More...
#include <configuration.hxx>
Static Public Member Functions | |
static U | get (css::uno::Reference< css::uno::XComponentContext > const &context) |
Get the value of the given localized configuration property, for the locale currently set at the com.sun.star.configuration.theDefaultProvider. More... | |
static void | set (U const &value, std::shared_ptr< ConfigurationChanges > const &batch) |
Set the value of the given localized configuration property, for the locale currently set at the com.sun.star.configuration.theDefaultProvider, via a given changes batch. More... | |
Private Member Functions | |
ConfigurationLocalizedProperty (const ConfigurationLocalizedProperty &)=delete | |
ConfigurationLocalizedProperty & | operator= (const ConfigurationLocalizedProperty &)=delete |
ConfigurationLocalizedProperty ()=delete | |
~ConfigurationLocalizedProperty ()=delete | |
A type-safe wrapper around a localized configuration property.
Automatically generated headers for the various localized configuration properties derive from this template and make available its member functions to access each given localized configuration property.
Definition at line 243 of file configuration.hxx.
|
privatedelete |
|
privatedelete |
|
privatedelete |
|
inlinestatic |
Get the value of the given localized configuration property, for the locale currently set at the com.sun.star.configuration.theDefaultProvider.
For nillable properties, U is of type std::optional<U'>.
Definition at line 250 of file configuration.hxx.
References a, comphelper::detail::Convert< T >::fromAny(), and comphelper::detail::ConfigurationWrapper::get().
|
privatedelete |
|
inlinestatic |
Set the value of the given localized configuration property, for the locale currently set at the com.sun.star.configuration.theDefaultProvider, via a given changes batch.
For nillable properties, U is of type std::optional<U'>.
Definition at line 266 of file configuration.hxx.
References comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue().