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

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

#include <configuration.hxx>

Static Public Member Functions

static css::uno::Reference< css::container::XHierarchicalNameAccess > get ()
 Get read-only access to the given configuration group. More...
 
static css::uno::Reference< css::container::XHierarchicalNameReplace > get (std::shared_ptr< ConfigurationChanges > const &batch)
 Get read/write access to the given configuration group, storing any modifications via the given changes batch. More...
 

Private Member Functions

 ConfigurationGroup (const ConfigurationGroup &)=delete
 
ConfigurationGroupoperator= (const ConfigurationGroup &)=delete
 
 ConfigurationGroup ()=delete
 
 ~ConfigurationGroup ()=delete
 

Detailed Description

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

A type-safe wrapper around a configuration group.

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

Definition at line 291 of file configuration.hxx.

Constructor & Destructor Documentation

◆ ConfigurationGroup() [1/2]

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

◆ ConfigurationGroup() [2/2]

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

◆ ~ConfigurationGroup()

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

Member Function Documentation

◆ get() [1/2]

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

Get read-only access to the given configuration group.

Definition at line 295 of file configuration.hxx.

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

◆ get() [2/2]

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

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

Definition at line 305 of file configuration.hxx.

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

◆ operator=()

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

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