LibreOffice Module toolkit (master) 1
Public Member Functions | Protected Member Functions | List of all members
toolkit::UnoTreeModel Class Reference

#include <treecontrol.hxx>

Inheritance diagram for toolkit::UnoTreeModel:
[legend]
Collaboration diagram for toolkit::UnoTreeModel:
[legend]

Public Member Functions

 UnoTreeModel (const css::uno::Reference< css::uno::XComponentContext > &i_factory)
 
 UnoTreeModel (const UnoTreeModel &rOther)
 
rtl::Reference< UnoControlModelClone () const override
 
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
OUString SAL_CALL getServiceName () override
 
OUString SAL_CALL getImplementationName () override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from UnoControlModel
 UnoControlModel (const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
 UnoControlModel (const UnoControlModel &rModel)
 
virtual rtl::Reference< UnoControlModelClone () const =0
 
css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
void SAL_CALL acquire () noexcept override
 
void SAL_CALL release () noexcept override
 
css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) override
 
css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
void SAL_CALL dispose () override
 
void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
OUString SAL_CALL getServiceName () override
 
void SAL_CALL write (const css::uno::Reference< css::io::XObjectOutputStream > &OutStream) override
 
void SAL_CALL read (const css::uno::Reference< css::io::XObjectInputStream > &InStream) override
 
OUString SAL_CALL getImplementationName () override
 
sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
::cppu::IPropertyArrayHelpergetInfoHelper () override=0
 
bool convertFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
void setFastPropertyValue_NoBroadcast (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const override
 
css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) override
 
- Public Member Functions inherited from cppu::WeakAggImplHelper6< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 
- Public Member Functions inherited from comphelper::OPropertySetHelper
 OPropertySetHelper ()
 
 OPropertySetHelper (bool bIgnoreRuntimeExceptionsWhileFiring)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
void disposing (std::unique_lock< std::mutex > &rGuard)
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) override final
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) override final
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override final
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override final
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override final
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override final
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence<::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence<::rtl::OUString > &PropertyNames) override final
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence<::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override final
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override final
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence<::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) override final
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Protected Member Functions

css::uno::Any ImplGetDefaultValue (sal_uInt16 nPropId) const override
 
::cppu::IPropertyArrayHelpergetInfoHelper () override
 
- Protected Member Functions inherited from UnoControlModel
void ImplRegisterProperty (sal_uInt16 nPropType)
 
void ImplRegisterProperties (const std::vector< sal_uInt16 > &rIds)
 
void ImplRegisterProperty (sal_uInt16 nPropId, const css::uno::Any &rDefault)
 
css::uno::Sequence< sal_Int32 > ImplGetPropertyIds () const
 
virtual css::uno::Any ImplGetDefaultValue (sal_uInt16 nPropId) const
 
bool ImplHasProperty (sal_uInt16 nPropId) const
 
virtual void ImplNormalizePropertySequence (const sal_Int32 _nCount, sal_Int32 *_pHandles, css::uno::Any *_pValues, sal_Int32 *_pValidHandles) const
 called before setting multiple properties, allows to care for property dependencies More...
 
template<typename T >
void UNO_CONTROL_MODEL_REGISTER_PROPERTIES ()
 
void setFastPropertyValueImpl (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &aValue) override
 
css::beans::PropertyState getPropertyStateImpl (std::unique_lock< std::mutex > &rGuard, const OUString &PropertyName)
 
void setPropertyValuesImpl (std::unique_lock< std::mutex > &rGuard, const css::uno::Sequence< OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values)
 
- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from comphelper::OPropertySetHelper
 ~OPropertySetHelper ()
 
virtual void setFastPropertyValueImpl (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &rValue)
 
virtual css::uno::Any getPropertyValueImpl (std::unique_lock< std::mutex > &rGuard, const ::rtl::OUString &aPropertyName)
 
void fire (std::unique_lock< std::mutex > &rGuard, sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, bool bVetoable)
 
void setFastPropertyValues (std::unique_lock< std::mutex > &rGuard, sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual cppu::IPropertyArrayHelpergetInfoHelper ()=0
 
virtual bool convertFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void setFastPropertyValue_NoBroadcast (std::unique_lock< std::mutex > &rGuard, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (std::unique_lock< std::mutex > &rGuard, sal_Int32 i_handle, const css::uno::Any &i_value)
 

Additional Inherited Members

- Static Public Member Functions inherited from comphelper::OPropertySetHelper
static css::uno::Sequence< css::uno::Type > getTypes ()
 
static css::uno::Reference< css::beans::XPropertySetInfo > createPropertySetInfo (cppu::IPropertyArrayHelper &rProperties)
 
- Static Protected Member Functions inherited from UnoControlModel
static void ImplEnsureHandleOrder (const sal_Int32 _nCount, sal_Int32 *_pHandles, css::uno::Any *_pValues, sal_Int32 _nFirstHandle, sal_Int32 _nSecondHandle)
 ensures that two property values in a sequence have a certain order More...
 
- Protected Attributes inherited from UnoControlModel
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Definition at line 29 of file treecontrol.hxx.

Constructor & Destructor Documentation

◆ UnoTreeModel() [1/2]

toolkit::UnoTreeModel::UnoTreeModel ( const css::uno::Reference< css::uno::XComponentContext > &  i_factory)
explicit

◆ UnoTreeModel() [2/2]

toolkit::UnoTreeModel::UnoTreeModel ( const UnoTreeModel rOther)
inline

Definition at line 37 of file treecontrol.hxx.

Member Function Documentation

◆ Clone()

rtl::Reference< UnoControlModel > toolkit::UnoTreeModel::Clone ( ) const
overridevirtual

Implements UnoControlModel.

Definition at line 72 of file treecontrol.cxx.

References UnoTreeModel().

◆ getImplementationName()

OUString SAL_CALL toolkit::UnoTreeModel::getImplementationName ( )
inlineoverride

Definition at line 51 of file treecontrol.hxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & toolkit::UnoTreeModel::getInfoHelper ( )
overrideprotectedvirtual

Implements UnoControlModel.

Definition at line 106 of file treecontrol.cxx.

References aHelper, and UnoControlModel::ImplGetPropertyIds().

Referenced by getPropertySetInfo().

◆ getPropertySetInfo()

Reference< XPropertySetInfo > toolkit::UnoTreeModel::getPropertySetInfo ( )
override

◆ getServiceName()

OUString toolkit::UnoTreeModel::getServiceName ( )
override

Definition at line 77 of file treecontrol.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SAL_CALL toolkit::UnoTreeModel::getSupportedServiceNames ( )
inlineoverride

Definition at line 56 of file treecontrol.hxx.

References UnoControlModel::getSupportedServiceNames().

◆ ImplGetDefaultValue()

Any toolkit::UnoTreeModel::ImplGetDefaultValue ( sal_uInt16  nPropId) const
overrideprotectedvirtual

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