LibreOffice Module scripting (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
basprov::BasicMethodNodeImpl Class Reference

#include <basmethnode.hxx>

Inheritance diagram for basprov::BasicMethodNodeImpl:
[legend]
Collaboration diagram for basprov::BasicMethodNodeImpl:
[legend]

Public Member Functions

 BasicMethodNodeImpl (const css::uno::Reference< css::uno::XComponentContext > &rxContext, OUString sScriptingContext, SbMethod *pMethod, bool isAppScript)
 
virtual ~BasicMethodNodeImpl () override
 
virtual OUString SAL_CALL getName () override
 
virtual css::uno::Sequence< css::uno::Reference< css::script::browse::XBrowseNode > > SAL_CALL getChildNodes () override
 
virtual sal_Bool SAL_CALL hasChildNodes () override
 
virtual sal_Int16 SAL_CALL getType () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Reference< css::beans::XIntrospectionAccess > SAL_CALL getIntrospection () override
 
virtual css::uno::Any SAL_CALL invoke (const OUString &aFunctionName, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam) override
 
virtual void SAL_CALL setValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getValue (const OUString &aPropertyName) override
 
virtual sal_Bool SAL_CALL hasMethod (const OUString &aName) override
 
virtual sal_Bool SAL_CALL hasProperty (const OUString &aName) override
 
- Public Member Functions inherited from scripting_helper::OBroadcastHelperHolder
 OBroadcastHelperHolder (::osl::Mutex &rMutex)
 
::cppu::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< BasicMethodNodeImpl >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const =0
 

Private Attributes

css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_sScriptingContext
 
SbMethodm_pMethod
 
bool m_bIsAppScript
 
OUString m_sURI
 
bool m_bEditable
 

Additional Inherited Members

- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< BasicMethodNodeImpl >
static std::mutextheMutex ()
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< BasicMethodNodeImpl >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 47 of file basmethnode.hxx.

Constructor & Destructor Documentation

◆ BasicMethodNodeImpl()

basprov::BasicMethodNodeImpl::BasicMethodNodeImpl ( const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
OUString  sScriptingContext,
SbMethod pMethod,
bool  isAppScript 
)

◆ ~BasicMethodNodeImpl()

basprov::BasicMethodNodeImpl::~BasicMethodNodeImpl ( )
overridevirtual

Definition at line 98 of file basmethnode.cxx.

Member Function Documentation

◆ createArrayHelper()

cppu::IPropertyArrayHelper * basprov::BasicMethodNodeImpl::createArrayHelper ( ) const
overrideprotectedvirtual

◆ getChildNodes()

Sequence< Reference< browse::XBrowseNode > > basprov::BasicMethodNodeImpl::getChildNodes ( )
overridevirtual

Definition at line 130 of file basmethnode.cxx.

Referenced by pythonscript.FileBrowseNode::hasChildNodes().

◆ getInfoHelper()

cppu::IPropertyArrayHelper & basprov::BasicMethodNodeImpl::getInfoHelper ( )
overrideprotected

◆ getIntrospection()

Reference< XIntrospectionAccess > basprov::BasicMethodNodeImpl::getIntrospection ( )
overridevirtual

Definition at line 181 of file basmethnode.cxx.

◆ getName()

OUString basprov::BasicMethodNodeImpl::getName ( )
overridevirtual

Definition at line 118 of file basmethnode.cxx.

References m_pMethod.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > basprov::BasicMethodNodeImpl::getPropertySetInfo ( )
overridevirtual

Definition at line 171 of file basmethnode.cxx.

References getInfoHelper().

◆ getType()

sal_Int16 basprov::BasicMethodNodeImpl::getType ( )
overridevirtual

Definition at line 142 of file basmethnode.cxx.

◆ getValue()

Any basprov::BasicMethodNodeImpl::getValue ( const OUString &  aPropertyName)
overridevirtual

Definition at line 266 of file basmethnode.cxx.

References Any.

◆ hasChildNodes()

sal_Bool basprov::BasicMethodNodeImpl::hasChildNodes ( )
overridevirtual

Definition at line 136 of file basmethnode.cxx.

◆ hasMethod()

sal_Bool basprov::BasicMethodNodeImpl::hasMethod ( const OUString &  aName)
overridevirtual

Definition at line 273 of file basmethnode.cxx.

References aName, and BASPROV_PROPERTY_EDITABLE.

◆ hasProperty()

sal_Bool basprov::BasicMethodNodeImpl::hasProperty ( const OUString &  aName)
overridevirtual

Definition at line 283 of file basmethnode.cxx.

◆ invoke()

Any basprov::BasicMethodNodeImpl::invoke ( const OUString &  aFunctionName,
const css::uno::Sequence< css::uno::Any > &  aParams,
css::uno::Sequence< sal_Int16 > &  aOutParamIndex,
css::uno::Sequence< css::uno::Any > &  aOutParam 
)
overridevirtual

◆ setValue()

void basprov::BasicMethodNodeImpl::setValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 259 of file basmethnode.cxx.

Member Data Documentation

◆ m_bEditable

bool basprov::BasicMethodNodeImpl::m_bEditable
private

Definition at line 61 of file basmethnode.hxx.

Referenced by BasicMethodNodeImpl().

◆ m_bIsAppScript

bool basprov::BasicMethodNodeImpl::m_bIsAppScript
private

Definition at line 57 of file basmethnode.hxx.

Referenced by BasicMethodNodeImpl(), and invoke().

◆ m_pMethod

SbMethod* basprov::BasicMethodNodeImpl::m_pMethod
private

Definition at line 56 of file basmethnode.hxx.

Referenced by BasicMethodNodeImpl(), and invoke().

◆ m_sScriptingContext

OUString basprov::BasicMethodNodeImpl::m_sScriptingContext
private

Definition at line 55 of file basmethnode.hxx.

Referenced by invoke().

◆ m_sURI

OUString basprov::BasicMethodNodeImpl::m_sURI
private

Definition at line 60 of file basmethnode.hxx.

Referenced by BasicMethodNodeImpl().

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > basprov::BasicMethodNodeImpl::m_xContext
private

Definition at line 54 of file basmethnode.hxx.

Referenced by invoke().


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