LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbtools::param::ParameterWrapperContainer Class Referencefinal

class for the parameter event More...

#include <paramwrapper.hxx>

Inheritance diagram for dbtools::param::ParameterWrapperContainer:
[legend]
Collaboration diagram for dbtools::param::ParameterWrapperContainer:
[legend]

Public Member Functions

 ParameterWrapperContainer ()
 creates an empty container More...
 
 ParameterWrapperContainer (const css::uno::Reference< css::sdb::XSingleSelectQueryAnalyzer > &_rxComposer)
 creates a container from a SingleSelectQuerAnalyzer's parameter columns More...
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 _rIndex) override
 
const ParametersgetParameters () const
 
const ::connectivity::ORowSetValueoperator[] (size_t _index) const
 
::connectivity::ORowSetValueoperator[] (size_t _index)
 
void push_back (ParameterWrapper *_pParameter)
 adds a ParameterWrapper to the end of the array More...
 
size_t size () const
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Private Member Functions

virtual ~ParameterWrapperContainer () override
 
virtual void disposing (std::unique_lock< std::mutex > &rGuard) override
 
void impl_checkDisposed_throw ()
 

Private Attributes

Parameters m_aParameters
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

class for the parameter event

See also
approveParameter

Definition at line 131 of file paramwrapper.hxx.

Constructor & Destructor Documentation

◆ ~ParameterWrapperContainer()

dbtools::param::ParameterWrapperContainer::~ParameterWrapperContainer ( )
overrideprivatevirtual

Definition at line 278 of file paramwrapper.cxx.

◆ ParameterWrapperContainer() [1/2]

dbtools::param::ParameterWrapperContainer::ParameterWrapperContainer ( )

creates an empty container

Definition at line 260 of file paramwrapper.cxx.

◆ ParameterWrapperContainer() [2/2]

dbtools::param::ParameterWrapperContainer::ParameterWrapperContainer ( const css::uno::Reference< css::sdb::XSingleSelectQueryAnalyzer > &  _rxComposer)

creates a container from a SingleSelectQuerAnalyzer's parameter columns

Note that here, the simple constructor of the ParameterWrapper will be used, which does not use a XParameters instance to forward values to, but only remembers the values itself.

Member Function Documentation

◆ createEnumeration()

Reference< XEnumeration > dbtools::param::ParameterWrapperContainer::createEnumeration ( )
overridevirtual

◆ disposing()

void dbtools::param::ParameterWrapperContainer::disposing ( std::unique_lock< std::mutex > &  rGuard)
overrideprivatevirtual

Reimplemented from comphelper::WeakComponentImplHelperBase.

Definition at line 335 of file paramwrapper.cxx.

References m_aParameters.

◆ getByIndex()

Any SAL_CALL dbtools::param::ParameterWrapperContainer::getByIndex ( sal_Int32  _rIndex)
overridevirtual

◆ getCount()

sal_Int32 SAL_CALL dbtools::param::ParameterWrapperContainer::getCount ( )
overridevirtual

◆ getElementType()

Type SAL_CALL dbtools::param::ParameterWrapperContainer::getElementType ( )
overridevirtual

◆ getParameters()

const Parameters & dbtools::param::ParameterWrapperContainer::getParameters ( ) const
inline

Definition at line 163 of file paramwrapper.hxx.

◆ hasElements()

sal_Bool SAL_CALL dbtools::param::ParameterWrapperContainer::hasElements ( )
overridevirtual

◆ impl_checkDisposed_throw()

void dbtools::param::ParameterWrapperContainer::impl_checkDisposed_throw ( )
private

◆ operator[]() [1/2]

::connectivity::ORowSetValue & dbtools::param::ParameterWrapperContainer::operator[] ( size_t  _index)
inline

Definition at line 166 of file paramwrapper.hxx.

◆ operator[]() [2/2]

const ::connectivity::ORowSetValue & dbtools::param::ParameterWrapperContainer::operator[] ( size_t  _index) const
inline

Definition at line 165 of file paramwrapper.hxx.

◆ push_back()

void dbtools::param::ParameterWrapperContainer::push_back ( ParameterWrapper _pParameter)
inline

adds a ParameterWrapper to the end of the array

Definition at line 170 of file paramwrapper.hxx.

◆ size()

size_t dbtools::param::ParameterWrapperContainer::size ( ) const
inline

Definition at line 175 of file paramwrapper.hxx.

Member Data Documentation

◆ m_aParameters

Parameters dbtools::param::ParameterWrapperContainer::m_aParameters
private

Definition at line 135 of file paramwrapper.hxx.

Referenced by disposing(), getByIndex(), getCount(), and hasElements().


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