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

◆ ConfigurationWrapper() [1/2]

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

Definition at line 136 of file configuration.cxx.

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

◆ ~ConfigurationWrapper()

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

Definition at line 166 of file configuration.cxx.

◆ ConfigurationWrapper() [2/2]

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

Member Function Documentation

◆ createChanges()

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().

◆ get()

comphelper::detail::ConfigurationWrapper const & comphelper::detail::ConfigurationWrapper::get ( )
static

◆ getGroupReadOnly()

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().

◆ getGroupReadWrite()

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().

◆ getLocalizedPropertyValue()

css::uno::Any comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue ( std::u16string_view  path) const

Definition at line 211 of file configuration.cxx.

References access_, and context_.

◆ getPropertyValue()

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

Definition at line 182 of file configuration.cxx.

References access_, and idx.

◆ getSetReadOnly()

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().

◆ getSetReadWrite()

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().

◆ isReadOnly()

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().

◆ operator=()

ConfigurationWrapper & comphelper::detail::ConfigurationWrapper::operator= ( const ConfigurationWrapper )
privatedelete

◆ setLocalizedPropertyValue()

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

Definition at line 218 of file configuration.cxx.

References value.

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

◆ setPropertyValue()

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.

References value.

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

Member Data Documentation

◆ access_

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

Definition at line 133 of file configuration.hxx.

◆ context_

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

Definition at line 131 of file configuration.hxx.

Referenced by ConfigurationWrapper().


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