LibreOffice Module comphelper (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
comphelper::detail::ConfigurationWrapper Class Reference

#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< ConfigurationChangescreateChanges () 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
 
ConfigurationWrapperoperator= (const ConfigurationWrapper &)=delete
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > context_
 
css::uno::Reference< css::configuration::XReadWriteAccess > access_
 

Detailed Description

Definition at line 84 of file configuration.hxx.

Constructor & Destructor Documentation

comphelper::detail::ConfigurationWrapper::ConfigurationWrapper ( )
explicitprivate

Definition at line 136 of file configuration.cxx.

References access_, configuration, context_, context_, create(), and u.

comphelper::detail::ConfigurationWrapper::~ConfigurationWrapper ( )
private

Definition at line 166 of file configuration.cxx.

comphelper::detail::ConfigurationWrapper::ConfigurationWrapper ( const ConfigurationWrapper )
privatedelete

Member Function Documentation

std::shared_ptr< comphelper::ConfigurationChanges > comphelper::detail::ConfigurationWrapper::createChanges ( ) const

Definition at line 267 of file configuration.cxx.

References context_.

Referenced by comphelper::ConfigurationChanges::create().

comphelper::detail::ConfigurationWrapper const & comphelper::detail::ConfigurationWrapper::get ( )
static
css::uno::Reference< css::container::XHierarchicalNameAccess > comphelper::detail::ConfigurationWrapper::getGroupReadOnly ( OUString const &  path) const

Definition at line 227 of file configuration.cxx.

References context_.

Referenced by comphelper::ConfigurationGroup< T >::get().

css::uno::Reference< css::container::XHierarchicalNameReplace > comphelper::detail::ConfigurationWrapper::getGroupReadWrite ( std::shared_ptr< ConfigurationChanges > const &  batch,
OUString const &  path 
)
static

Definition at line 238 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 211 of file configuration.cxx.

References access_, and context_.

css::uno::Any comphelper::detail::ConfigurationWrapper::getPropertyValue ( OUString const &  path) const

Definition at line 182 of file configuration.cxx.

References access_, and idx.

css::uno::Reference< css::container::XNameAccess > comphelper::detail::ConfigurationWrapper::getSetReadOnly ( OUString const &  path) const

Definition at line 247 of file configuration.cxx.

References context_.

Referenced by comphelper::ConfigurationSet< T >::get().

css::uno::Reference< css::container::XNameContainer > comphelper::detail::ConfigurationWrapper::getSetReadWrite ( std::shared_ptr< ConfigurationChanges > const &  batch,
OUString const &  path 
)
static

Definition at line 258 of file configuration.cxx.

Referenced by comphelper::ConfigurationSet< T >::get().

bool comphelper::detail::ConfigurationWrapper::isReadOnly ( OUString const &  path) const

Definition at line 173 of file configuration.cxx.

References access_.

Referenced by comphelper::ConfigurationProperty< T, U >::isReadOnly().

ConfigurationWrapper& comphelper::detail::ConfigurationWrapper::operator= ( const ConfigurationWrapper )
privatedelete
void comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue ( std::shared_ptr< ConfigurationChanges > const &  batch,
OUString const &  path,
css::uno::Any const &  value 
)
static
void comphelper::detail::ConfigurationWrapper::setPropertyValue ( std::shared_ptr< ConfigurationChanges > const &  batch,
OUString const &  path,
css::uno::Any const &  value 
)
static

Definition at line 202 of file configuration.cxx.

Referenced by comphelper::ConfigurationProperty< T, U >::set().

Member Data Documentation

css::uno::Reference< css::configuration::XReadWriteAccess > comphelper::detail::ConfigurationWrapper::access_
private

Definition at line 133 of file configuration.hxx.

Referenced by getLocalizedPropertyValue(), getPropertyValue(), and isReadOnly().

css::uno::Reference< css::uno::XComponentContext > comphelper::detail::ConfigurationWrapper::context_
private

The documentation for this class was generated from the following files: