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 (css::uno::Reference< css::uno::XComponentContext > const &context=comphelper::getProcessComponentContext())
 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 285 of file configuration.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Get read-only access to the given configuration group.

Definition at line 289 of file configuration.hxx.

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

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

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

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

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