LibreOffice Module reportdesign (master) 1
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
reportdesign::OFunctions Class Reference

implementation of a More...

#include <Functions.hxx>

Inheritance diagram for reportdesign::OFunctions:
[legend]
Collaboration diagram for reportdesign::OFunctions:
[legend]

Public Member Functions

 OFunctions (const css::uno::Reference< css::report::XFunctionsSupplier > &_xParent, css::uno::Reference< css::uno::XComponentContext > context)
 
virtual css::uno::Reference< css::report::XFunction > SAL_CALL createFunction () override
 
virtual void SAL_CALL insertByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual void SAL_CALL removeByIndex (::sal_Int32 Index) override
 
virtual void SAL_CALL replaceByIndex (::sal_Int32 Index, const css::uno::Any &Element) override
 
virtual ::sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (::sal_Int32 Index) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &xListener) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 

Protected Member Functions

virtual ~OFunctions () override
 
virtual void SAL_CALL disposing () override
 this function is called upon disposing the component More...
 

Private Types

typedef ::std::vector< css::uno::Reference< css::report::XFunction > > TFunctions
 

Private Member Functions

OFunctionsoperator= (const OFunctions &)=delete
 
 OFunctions (const OFunctions &)=delete
 
void checkIndex (sal_Int32 _nIndex)
 

Private Attributes

::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > m_aContainerListeners
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::WeakReference< css::report::XFunctionsSupplier > m_xParent
 
TFunctions m_aFunctions
 

Additional Inherited Members

- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

implementation of a

Definition at line 38 of file Functions.hxx.

Member Typedef Documentation

◆ TFunctions

typedef ::std::vector< css::uno::Reference< css::report::XFunction > > reportdesign::OFunctions::TFunctions
private

Definition at line 41 of file Functions.hxx.

Constructor & Destructor Documentation

◆ OFunctions() [1/2]

reportdesign::OFunctions::OFunctions ( const OFunctions )
privatedelete

◆ ~OFunctions()

reportdesign::OFunctions::~OFunctions ( )
overrideprotectedvirtual

Definition at line 43 of file Functions.cxx.

◆ OFunctions() [2/2]

reportdesign::OFunctions::OFunctions ( const css::uno::Reference< css::report::XFunctionsSupplier > &  _xParent,
css::uno::Reference< css::uno::XComponentContext >  context 
)
explicit

Member Function Documentation

◆ addContainerListener()

void SAL_CALL reportdesign::OFunctions::addContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 175 of file Functions.cxx.

◆ addEventListener()

virtual void SAL_CALL reportdesign::OFunctions::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 87 of file Functions.hxx.

◆ checkIndex()

void reportdesign::OFunctions::checkIndex ( sal_Int32  _nIndex)
private

Definition at line 185 of file Functions.cxx.

References o3tl::make_unsigned().

◆ createFunction()

uno::Reference< report::XFunction > SAL_CALL reportdesign::OFunctions::createFunction ( )
overridevirtual

Definition at line 66 of file Functions.cxx.

References m_xContext.

◆ dispose()

void SAL_CALL reportdesign::OFunctions::dispose ( void  )
overridevirtual

Definition at line 47 of file Functions.cxx.

◆ disposing()

void SAL_CALL reportdesign::OFunctions::disposing ( )
overrideprotectedvirtual

this function is called upon disposing the component

Definition at line 54 of file Functions.cxx.

References m_xContext.

◆ getByIndex()

uno::Any SAL_CALL reportdesign::OFunctions::getByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 142 of file Functions.cxx.

References m_aMutex.

◆ getCount()

sal_Int32 SAL_CALL reportdesign::OFunctions::getCount ( )
override

Definition at line 136 of file Functions.cxx.

References m_aMutex.

◆ getElementType()

uno::Type SAL_CALL reportdesign::OFunctions::getElementType ( )
overridevirtual

Definition at line 152 of file Functions.cxx.

References cppu::UnoType< typename T >::get().

◆ getParent()

uno::Reference< uno::XInterface > SAL_CALL reportdesign::OFunctions::getParent ( )
overridevirtual

Definition at line 164 of file Functions.cxx.

◆ hasElements()

sal_Bool SAL_CALL reportdesign::OFunctions::hasElements ( )
overridevirtual

Definition at line 157 of file Functions.cxx.

References m_aMutex.

◆ insertByIndex()

void SAL_CALL reportdesign::OFunctions::insertByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 72 of file Functions.cxx.

References aEvent, m_aMutex, and RptResId().

◆ operator=()

OFunctions & reportdesign::OFunctions::operator= ( const OFunctions )
privatedelete

◆ removeByIndex()

void SAL_CALL reportdesign::OFunctions::removeByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 99 of file Functions.cxx.

References aEvent, and m_aMutex.

◆ removeContainerListener()

void SAL_CALL reportdesign::OFunctions::removeContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual

Definition at line 180 of file Functions.cxx.

◆ removeEventListener()

virtual void SAL_CALL reportdesign::OFunctions::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 91 of file Functions.hxx.

◆ replaceByIndex()

void SAL_CALL reportdesign::OFunctions::replaceByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual

Definition at line 116 of file Functions.cxx.

References aEvent, m_aMutex, and RptResId().

◆ setParent()

void SAL_CALL reportdesign::OFunctions::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 169 of file Functions.cxx.

Member Data Documentation

◆ m_aContainerListeners

::comphelper::OInterfaceContainerHelper3<css::container::XContainerListener> reportdesign::OFunctions::m_aContainerListeners
private

Definition at line 42 of file Functions.hxx.

◆ m_aFunctions

TFunctions reportdesign::OFunctions::m_aFunctions
private

Definition at line 45 of file Functions.hxx.

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > reportdesign::OFunctions::m_xContext
private

Definition at line 43 of file Functions.hxx.

◆ m_xParent

css::uno::WeakReference< css::report::XFunctionsSupplier > reportdesign::OFunctions::m_xParent
private

Definition at line 44 of file Functions.hxx.


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