LibreOffice Module framework (master) 1
|
#include <rootitemcontainer.hxx>
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 |
RootItemContainer & | operator= (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 | |
OBroadcastHelper & | rBHelper |
OMultiTypeInterfaceContainerHelperInt32 | aBoundLC |
OMultiTypeInterfaceContainerHelperInt32 | aVetoableLC |
Impl *const | m_pReserved |
Definition at line 44 of file rootitemcontainer.hxx.
framework::RootItemContainer::RootItemContainer | ( | ) |
Definition at line 46 of file rootitemcontainer.cxx.
framework::RootItemContainer::RootItemContainer | ( | const css::uno::Reference< css::container::XIndexAccess > & | rItemAccessContainer | ) |
|
overridevirtual |
Definition at line 104 of file rootitemcontainer.cxx.
|
privatedelete |
|
inlineoverridevirtualnoexcept |
Definition at line 57 of file rootitemcontainer.hxx.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 217 of file rootitemcontainer.cxx.
References m_aUIName, nHandle, PROPHANDLE_UINAME, and framework::PropHelper::willPropertyBeChanged().
|
overridevirtual |
Definition at line 211 of file rootitemcontainer.cxx.
References m_aShareMutex.
|
overridevirtual |
Definition at line 206 of file rootitemcontainer.cxx.
References m_aShareMutex.
|
private |
Definition at line 124 of file rootitemcontainer.cxx.
References m_aShareMutex.
|
overridevirtual |
Definition at line 155 of file rootitemcontainer.cxx.
References Any, m_aItemVector, and m_aShareMutex.
|
overridevirtual |
Definition at line 149 of file rootitemcontainer.cxx.
References m_aItemVector, and m_aShareMutex.
|
inlineoverridevirtual |
Definition at line 80 of file rootitemcontainer.hxx.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 252 of file rootitemcontainer.cxx.
References m_aUIName, nHandle, and PROPHANDLE_UINAME.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 263 of file rootitemcontainer.cxx.
References impl_getStaticPropertyDescriptor().
Referenced by getPropertySetInfo().
|
overrideprivatevirtual |
Definition at line 273 of file rootitemcontainer.cxx.
References cppu::OPropertySetHelper::createPropertySetInfo(), and getInfoHelper().
Definition at line 116 of file rootitemcontainer.cxx.
References comphelper::concatSequences(), and cppu::OPropertySetHelper::getTypes().
|
overridevirtual |
Definition at line 142 of file rootitemcontainer.cxx.
References m_aItemVector, and m_aShareMutex.
|
staticprivate |
Definition at line 282 of file rootitemcontainer.cxx.
References PROPHANDLE_UINAME, and PROPNAME_UINAME.
Referenced by getInfoHelper().
|
overridevirtual |
Definition at line 165 of file rootitemcontainer.cxx.
References aSeq, m_aItemVector, m_aShareMutex, and WRONG_TYPE_EXCEPTION.
|
privatedelete |
|
overridevirtual |
Reimplemented from cppu::OPropertySetHelper.
Definition at line 108 of file rootitemcontainer.cxx.
References Any.
|
inlineoverridevirtualnoexcept |
Definition at line 59 of file rootitemcontainer.hxx.
|
overridevirtual |
Definition at line 184 of file rootitemcontainer.cxx.
References m_aItemVector, m_aShareMutex, and nIndex.
|
overridevirtual |
Definition at line 193 of file rootitemcontainer.cxx.
References aSeq, m_aItemVector, m_aShareMutex, and WRONG_TYPE_EXCEPTION.
|
overrideprivatevirtual |
Implements cppu::OPropertySetHelper.
Definition at line 241 of file rootitemcontainer.cxx.
References m_aUIName, nHandle, and PROPHANDLE_UINAME.
|
friend |
Definition at line 49 of file rootitemcontainer.hxx.
|
private |
Definition at line 113 of file rootitemcontainer.hxx.
Referenced by getByIndex(), getCount(), hasElements(), insertByIndex(), removeByIndex(), and replaceByIndex().
|
mutableprivate |
Definition at line 112 of file rootitemcontainer.hxx.
Referenced by createInstanceWithArgumentsAndContext(), createInstanceWithContext(), deepCopyContainer(), getByIndex(), getCount(), hasElements(), insertByIndex(), removeByIndex(), and replaceByIndex().
|
private |
Definition at line 114 of file rootitemcontainer.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().