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 ()
 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 324 of file configuration.hxx.

Constructor & Destructor Documentation

◆ ConfigurationSet() [1/2]

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

◆ ConfigurationSet() [2/2]

template<typename T >
comphelper::ConfigurationSet< T >::ConfigurationSet ( )
privatedelete

◆ ~ConfigurationSet()

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

Member Function Documentation

◆ get() [1/2]

template<typename T >
static css::uno::Reference< css::container::XNameAccess > comphelper::ConfigurationSet< T >::get ( )
inlinestatic

Get read-only access to the given configuration set.

Definition at line 328 of file configuration.hxx.

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

◆ get() [2/2]

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 338 of file configuration.hxx.

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

◆ operator=()

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

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