LibreOffice Module framework (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
framework::RootItemContainer Class Referencefinal

#include <rootitemcontainer.hxx>

Inheritance diagram for framework::RootItemContainer:
[legend]
Collaboration diagram for framework::RootItemContainer:
[legend]

Public Member Functions

 RootItemContainer ()
 
 RootItemContainer (const css::uno::Reference< css::container::XIndexAccess > &rItemAccessContainer)
 
virtual ~RootItemContainer () override
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &type) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () 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 createInstanceWithContext (const css::uno::Reference< css::uno::XComponentContext > &Context) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArgumentsAndContext (const css::uno::Sequence< css::uno::Any > &Arguments, const css::uno::Reference< css::uno::XComponentContext > &Context) override
 
- Public Member Functions inherited from cppu::OBroadcastHelperVar< class container, class keyType >
 OBroadcastHelperVar (::osl::Mutex &rMutex_)
 
void addListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
void removeListener (const keyType &key, const css::uno::Reference< css::uno::XInterface > &r)
 
OInterfaceContainerHelper *SAL_CALL getContainer (const keyType &key) const
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 

Private Member Functions

virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &aConvertedValue, css::uno::Any &aOldValue, sal_Int32 nHandle, const css::uno::Any &aValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &aValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &aValue, sal_Int32 nHandle) const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
RootItemContaineroperator= (const RootItemContainer &)=delete
 
 RootItemContainer (const RootItemContainer &)=delete
 
css::uno::Reference< css::container::XIndexAccess > deepCopyContainer (const css::uno::Reference< css::container::XIndexAccess > &rSubContainer)
 

Static Private Member Functions

static css::uno::Sequence< css::beans::Property > impl_getStaticPropertyDescriptor ()
 

Private Attributes

ShareableMutex m_aShareMutex
 
std::vector< css::uno::Sequence< css::beans::PropertyValue > > m_aItemVector
 
OUString m_aUIName
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Friends

class ConstItemContainer
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Public Attributes inherited from cppu::OBroadcastHelperVar< class container, class keyType >
::osl::Mutex & rMutex
 
container aLC
 
sal_Bool bDisposed
 
sal_Bool bInDispose
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 

Detailed Description

Definition at line 44 of file rootitemcontainer.hxx.

Constructor & Destructor Documentation

◆ RootItemContainer() [1/3]

framework::RootItemContainer::RootItemContainer ( )

Definition at line 46 of file rootitemcontainer.cxx.

◆ RootItemContainer() [2/3]

framework::RootItemContainer::RootItemContainer ( const css::uno::Reference< css::container::XIndexAccess > &  rItemAccessContainer)

◆ ~RootItemContainer()

framework::RootItemContainer::~RootItemContainer ( )
overridevirtual

Definition at line 104 of file rootitemcontainer.cxx.

◆ RootItemContainer() [3/3]

framework::RootItemContainer::RootItemContainer ( const RootItemContainer )
privatedelete

Member Function Documentation

◆ acquire()

virtual void SAL_CALL framework::RootItemContainer::acquire ( )
inlineoverridevirtualnoexcept

Definition at line 57 of file rootitemcontainer.hxx.

◆ convertFastPropertyValue()

sal_Bool SAL_CALL framework::RootItemContainer::convertFastPropertyValue ( css::uno::Any &  aConvertedValue,
css::uno::Any &  aOldValue,
sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overrideprivatevirtual

◆ createInstanceWithArgumentsAndContext()

Reference< XInterface > SAL_CALL framework::RootItemContainer::createInstanceWithArgumentsAndContext ( const css::uno::Sequence< css::uno::Any > &  Arguments,
const css::uno::Reference< css::uno::XComponentContext > &  Context 
)
overridevirtual

Definition at line 211 of file rootitemcontainer.cxx.

References m_aShareMutex.

◆ createInstanceWithContext()

Reference< XInterface > SAL_CALL framework::RootItemContainer::createInstanceWithContext ( const css::uno::Reference< css::uno::XComponentContext > &  Context)
overridevirtual

Definition at line 206 of file rootitemcontainer.cxx.

References m_aShareMutex.

◆ deepCopyContainer()

Reference< XIndexAccess > framework::RootItemContainer::deepCopyContainer ( const css::uno::Reference< css::container::XIndexAccess > &  rSubContainer)
private

Definition at line 124 of file rootitemcontainer.cxx.

References m_aShareMutex.

◆ getByIndex()

Any SAL_CALL framework::RootItemContainer::getByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 155 of file rootitemcontainer.cxx.

References Any, m_aItemVector, and m_aShareMutex.

◆ getCount()

sal_Int32 SAL_CALL framework::RootItemContainer::getCount ( )
overridevirtual

Definition at line 149 of file rootitemcontainer.cxx.

References m_aItemVector, and m_aShareMutex.

◆ getElementType()

virtual css::uno::Type SAL_CALL framework::RootItemContainer::getElementType ( )
inlineoverridevirtual

Definition at line 80 of file rootitemcontainer.hxx.

◆ getFastPropertyValue()

void SAL_CALL framework::RootItemContainer::getFastPropertyValue ( css::uno::Any &  aValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual

Implements cppu::OPropertySetHelper.

Definition at line 252 of file rootitemcontainer.cxx.

References m_aUIName, nHandle, and PROPHANDLE_UINAME.

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL framework::RootItemContainer::getInfoHelper ( )
overrideprivatevirtual

Implements cppu::OPropertySetHelper.

Definition at line 263 of file rootitemcontainer.cxx.

References impl_getStaticPropertyDescriptor().

Referenced by getPropertySetInfo().

◆ getPropertySetInfo()

css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL framework::RootItemContainer::getPropertySetInfo ( )
overrideprivatevirtual

◆ getTypes()

Sequence< Type > SAL_CALL framework::RootItemContainer::getTypes ( )
overridevirtual

◆ hasElements()

sal_Bool SAL_CALL framework::RootItemContainer::hasElements ( )
overridevirtual

Definition at line 142 of file rootitemcontainer.cxx.

References m_aItemVector, and m_aShareMutex.

◆ impl_getStaticPropertyDescriptor()

css::uno::Sequence< css::beans::Property > framework::RootItemContainer::impl_getStaticPropertyDescriptor ( )
staticprivate

Definition at line 282 of file rootitemcontainer.cxx.

References PROPHANDLE_UINAME, and PROPNAME_UINAME.

Referenced by getInfoHelper().

◆ insertByIndex()

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

Definition at line 165 of file rootitemcontainer.cxx.

References aSeq, m_aItemVector, m_aShareMutex, and WRONG_TYPE_EXCEPTION.

◆ operator=()

RootItemContainer & framework::RootItemContainer::operator= ( const RootItemContainer )
privatedelete

◆ queryInterface()

Any SAL_CALL framework::RootItemContainer::queryInterface ( const css::uno::Type &  type)
overridevirtual

Reimplemented from cppu::OPropertySetHelper.

Definition at line 108 of file rootitemcontainer.cxx.

References Any.

◆ release()

virtual void SAL_CALL framework::RootItemContainer::release ( )
inlineoverridevirtualnoexcept

Definition at line 59 of file rootitemcontainer.hxx.

◆ removeByIndex()

void SAL_CALL framework::RootItemContainer::removeByIndex ( sal_Int32  Index)
overridevirtual

Definition at line 184 of file rootitemcontainer.cxx.

References m_aItemVector, m_aShareMutex, and nIndex.

◆ replaceByIndex()

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

Definition at line 193 of file rootitemcontainer.cxx.

References aSeq, m_aItemVector, m_aShareMutex, and WRONG_TYPE_EXCEPTION.

◆ setFastPropertyValue_NoBroadcast()

void SAL_CALL framework::RootItemContainer::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  aValue 
)
overrideprivatevirtual

Implements cppu::OPropertySetHelper.

Definition at line 241 of file rootitemcontainer.cxx.

References m_aUIName, nHandle, and PROPHANDLE_UINAME.

Friends And Related Function Documentation

◆ ConstItemContainer

friend class ConstItemContainer
friend

Definition at line 49 of file rootitemcontainer.hxx.

Member Data Documentation

◆ m_aItemVector

std::vector< css::uno::Sequence< css::beans::PropertyValue > > framework::RootItemContainer::m_aItemVector
private

◆ m_aShareMutex

ShareableMutex framework::RootItemContainer::m_aShareMutex
mutableprivate

◆ m_aUIName

OUString framework::RootItemContainer::m_aUIName
private

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