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, 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::OInterfaceContainerHelper3< css::container::XContainerListener > 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

◆ TGroups

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

Definition at line 40 of file Groups.hxx.

Constructor & Destructor Documentation

◆ OGroups() [1/2]

reportdesign::OGroups::OGroups ( const OGroups )
privatedelete

◆ ~OGroups()

reportdesign::OGroups::~OGroups ( )
overrideprotectedvirtual

Definition at line 43 of file Groups.cxx.

◆ OGroups() [2/2]

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

Member Function Documentation

◆ addContainerListener()

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

Definition at line 177 of file Groups.cxx.

◆ addEventListener()

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

Definition at line 88 of file Groups.hxx.

◆ checkIndex()

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

Definition at line 187 of file Groups.cxx.

References o3tl::make_unsigned().

◆ createGroup()

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

Definition at line 70 of file Groups.cxx.

References m_xContext.

◆ dispose()

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

Definition at line 47 of file Groups.cxx.

◆ disposing()

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

this function is called upon disposing the component

Definition at line 54 of file Groups.cxx.

References m_xContext.

◆ getByIndex()

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

Definition at line 144 of file Groups.cxx.

References m_aMutex.

◆ getCount()

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

Definition at line 138 of file Groups.cxx.

References m_aMutex.

◆ getElementType()

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

Definition at line 154 of file Groups.cxx.

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

◆ getParent()

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

Definition at line 166 of file Groups.cxx.

◆ getReportDefinition()

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

Definition at line 65 of file Groups.cxx.

◆ hasElements()

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

Definition at line 159 of file Groups.cxx.

References m_aMutex.

◆ insertByIndex()

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

Definition at line 76 of file Groups.cxx.

References aEvent, m_aMutex, and RptResId().

◆ operator=()

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

◆ removeByIndex()

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

Definition at line 102 of file Groups.cxx.

References aEvent, and m_aMutex.

◆ removeContainerListener()

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

Definition at line 182 of file Groups.cxx.

◆ removeEventListener()

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

Definition at line 92 of file Groups.hxx.

◆ replaceByIndex()

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

Definition at line 118 of file Groups.cxx.

References aEvent, m_aMutex, and RptResId().

◆ setParent()

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

Definition at line 171 of file Groups.cxx.

Member Data Documentation

◆ m_aContainerListeners

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

Definition at line 41 of file Groups.hxx.

◆ m_aGroups

TGroups reportdesign::OGroups::m_aGroups
private

Definition at line 44 of file Groups.hxx.

◆ m_xContext

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

Definition at line 42 of file Groups.hxx.

◆ m_xParent

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: