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

implementation of a More...

#include <Groups.hxx>

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

Public Member Functions

 OGroups (const css::uno::Reference< css::report::XReportDefinition > &_xParent, const css::uno::Reference< css::uno::XComponentContext > &context)
 
virtual css::uno::Reference< css::report::XReportDefinition > SAL_CALL getReportDefinition () override
 
virtual css::uno::Reference< css::report::XGroup > SAL_CALL createGroup () 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 ~OGroups () 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::XGroup > > TGroups
 

Private Member Functions

OGroupsoperator= (const OGroups &)=delete
 
 OGroups (const OGroups &)=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::XReportDefinition > m_xParent
 
TGroups m_aGroups
 

Additional Inherited Members

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

Detailed Description

implementation of a

Definition at line 37 of file Groups.hxx.

Member Typedef Documentation

typedef ::std::vector< css::uno::Reference< css::report::XGroup > > reportdesign::OGroups::TGroups
private

Definition at line 40 of file Groups.hxx.

Constructor & Destructor Documentation

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

Definition at line 41 of file Groups.cxx.

reportdesign::OGroups::OGroups ( const css::uno::Reference< css::report::XReportDefinition > &  _xParent,
const css::uno::Reference< css::uno::XComponentContext > &  context 
)

Member Function Documentation

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

Definition at line 175 of file Groups.cxx.

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

Definition at line 88 of file Groups.hxx.

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

Definition at line 185 of file Groups.cxx.

uno::Reference< report::XGroup > SAL_CALL reportdesign::OGroups::createGroup ( )
overridevirtual

Definition at line 68 of file Groups.cxx.

References m_xContext.

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

Definition at line 45 of file Groups.cxx.

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

this function is called upon disposing the component

Definition at line 52 of file Groups.cxx.

References m_xContext.

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

Definition at line 142 of file Groups.cxx.

References m_aMutex.

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

Definition at line 136 of file Groups.cxx.

References m_aMutex.

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

Definition at line 152 of file Groups.cxx.

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

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

Definition at line 164 of file Groups.cxx.

uno::Reference< report::XReportDefinition > SAL_CALL reportdesign::OGroups::getReportDefinition ( )
overridevirtual

Definition at line 63 of file Groups.cxx.

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

Definition at line 157 of file Groups.cxx.

References m_aMutex.

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

Definition at line 74 of file Groups.cxx.

References aEvent, m_aMutex, and RptResId().

OGroups& reportdesign::OGroups::operator= ( const OGroups )
privatedelete
void SAL_CALL reportdesign::OGroups::removeByIndex ( ::sal_Int32  Index)
overridevirtual

Definition at line 100 of file Groups.cxx.

References aEvent, and m_aMutex.

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

Definition at line 180 of file Groups.cxx.

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

Definition at line 92 of file Groups.hxx.

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

Definition at line 116 of file Groups.cxx.

References aEvent, m_aMutex, and RptResId().

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

Definition at line 169 of file Groups.cxx.

Member Data Documentation

::comphelper::OInterfaceContainerHelper2 reportdesign::OGroups::m_aContainerListeners
private

Definition at line 41 of file Groups.hxx.

TGroups reportdesign::OGroups::m_aGroups
private

Definition at line 44 of file Groups.hxx.

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

Definition at line 42 of file Groups.hxx.

css::uno::WeakReference< css::report::XReportDefinition > reportdesign::OGroups::m_xParent
private

Definition at line 43 of file Groups.hxx.


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