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 () |
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 247 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 254 of file configuration.hxx.
References a, comphelper::detail::Convert< T >::fromAny(), comphelper::detail::ConfigurationWrapper::get(), and U.
|
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 270 of file configuration.hxx.
References comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(), and value.