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, const 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::OInterfaceContainerHelper2 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

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

Definition at line 41 of file Functions.hxx.

Constructor & Destructor Documentation

reportdesign::OFunctions::OFunctions ( const OFunctions )
privatedelete
reportdesign::OFunctions::~OFunctions ( )
overrideprotectedvirtual

Definition at line 41 of file Functions.cxx.

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

Member Function Documentation

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

Definition at line 87 of file Functions.hxx.

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

Definition at line 183 of file Functions.cxx.

References m_aFunctions.

Referenced by getByIndex(), insertByIndex(), removeByIndex(), and replaceByIndex().

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

Definition at line 64 of file Functions.cxx.

References m_xContext.

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

Definition at line 45 of file Functions.cxx.

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

this function is called upon disposing the component

Definition at line 52 of file Functions.cxx.

References comphelper::OInterfaceContainerHelper2::disposeAndClear(), m_aContainerListeners, m_aFunctions, and m_xContext.

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

Definition at line 140 of file Functions.cxx.

References checkIndex(), m_aFunctions, and cppu::BaseMutex::m_aMutex.

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

Definition at line 134 of file Functions.cxx.

References m_aFunctions, and cppu::BaseMutex::m_aMutex.

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

Definition at line 150 of file Functions.cxx.

References cppu::UnoType< class >::get().

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

Definition at line 162 of file Functions.cxx.

References m_xParent.

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

Definition at line 155 of file Functions.cxx.

References m_aFunctions, and cppu::BaseMutex::m_aMutex.

void SAL_CALL reportdesign::OFunctions::insertByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual
OFunctions& reportdesign::OFunctions::operator= ( const OFunctions )
privatedelete
void SAL_CALL reportdesign::OFunctions::removeByIndex ( ::sal_Int32  Index)
overridevirtual
void SAL_CALL reportdesign::OFunctions::removeContainerListener ( const css::uno::Reference< css::container::XContainerListener > &  xListener)
overridevirtual
virtual void SAL_CALL reportdesign::OFunctions::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 91 of file Functions.hxx.

void SAL_CALL reportdesign::OFunctions::replaceByIndex ( ::sal_Int32  Index,
const css::uno::Any &  Element 
)
overridevirtual
void SAL_CALL reportdesign::OFunctions::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 167 of file Functions.cxx.

Member Data Documentation

::comphelper::OInterfaceContainerHelper2 reportdesign::OFunctions::m_aContainerListeners
private
TFunctions reportdesign::OFunctions::m_aFunctions
private
css::uno::Reference< css::uno::XComponentContext > reportdesign::OFunctions::m_xContext
private

Definition at line 43 of file Functions.hxx.

Referenced by createFunction(), and disposing().

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

Definition at line 44 of file Functions.hxx.

Referenced by getParent().


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