LibreOffice Module comphelper (master)  1
Static Public Member Functions | Private Member Functions | List of all members
comphelper::ConfigurationSet< T > Struct Template Reference

A type-safe wrapper around a configuration set. More...

#include <configuration.hxx>

Static Public Member Functions

static css::uno::Reference< css::container::XNameAccess > get (css::uno::Reference< css::uno::XComponentContext > const &context=comphelper::getProcessComponentContext())
 Get read-only access to the given configuration set. More...
 
static css::uno::Reference< css::container::XNameContainer > get (std::shared_ptr< ConfigurationChanges > const &batch)
 Get read/write access to the given configuration set, storing any modifications via the given changes batch. More...
 

Private Member Functions

 ConfigurationSet (const ConfigurationSet &)=delete
 
ConfigurationSetoperator= (const ConfigurationSet &)=delete
 
 ConfigurationSet ()=delete
 
 ~ConfigurationSet ()=delete
 

Detailed Description

template<typename T>
struct comphelper::ConfigurationSet< T >

A type-safe wrapper around a configuration set.

Automatically generated headers for the various configuration sets derive from this template and make available its member functions to access each given configuration set.

Definition at line 319 of file configuration.hxx.

Constructor & Destructor Documentation

template<typename T >
comphelper::ConfigurationSet< T >::ConfigurationSet ( const ConfigurationSet< T > &  )
privatedelete
template<typename T >
comphelper::ConfigurationSet< T >::ConfigurationSet ( )
privatedelete
template<typename T >
comphelper::ConfigurationSet< T >::~ConfigurationSet ( )
privatedelete

Member Function Documentation

template<typename T >
static css::uno::Reference< css::container::XNameAccess > comphelper::ConfigurationSet< T >::get ( css::uno::Reference< css::uno::XComponentContext > const &  context = comphelper::getProcessComponentContext())
inlinestatic

Get read-only access to the given configuration set.

Definition at line 323 of file configuration.hxx.

References comphelper::detail::ConfigurationWrapper::get(), and comphelper::detail::ConfigurationWrapper::getSetReadOnly().

template<typename T >
static css::uno::Reference< css::container::XNameContainer > comphelper::ConfigurationSet< T >::get ( std::shared_ptr< ConfigurationChanges > const &  batch)
inlinestatic

Get read/write access to the given configuration set, storing any modifications via the given changes batch.

Definition at line 334 of file configuration.hxx.

References comphelper::detail::ConfigurationWrapper::getSetReadWrite().

template<typename T >
ConfigurationSet& comphelper::ConfigurationSet< T >::operator= ( const ConfigurationSet< T > &  )
privatedelete

The documentation for this struct was generated from the following file: