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

SAL_DLLPRIVATE ConfigurationWrapper (css::uno::Reference< css::uno::XComponentContext > const &context)
 
SAL_DLLPRIVATE ~ConfigurationWrapper ()
 
bool isReadOnly (OUString const &path) const
 
css::uno::Any getPropertyValue (OUString const &path) const
 
css::uno::Any getLocalizedPropertyValue (OUString const &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 (css::uno::Reference< css::uno::XComponentContext > const &context)
 
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

 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 ( css::uno::Reference< css::uno::XComponentContext > const &  context)
explicit

Definition at line 120 of file configuration.cxx.

References access_, context_, and create().

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

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

References context_.

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

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

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

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

Definition at line 152 of file configuration.cxx.

References access_, and context_.

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

Definition at line 137 of file configuration.cxx.

References access_.

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

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

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

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

Definition at line 128 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 143 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 137 of file configuration.hxx.

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

Definition at line 135 of file configuration.hxx.


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