LibreOffice Module pyuno (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
pyuno::Adapter Class Reference

#include <pyuno_impl.hxx>

Inheritance diagram for pyuno::Adapter:
Collaboration diagram for pyuno::Adapter:

Public Member Functions

 Adapter (const PyRef &obj, const css::uno::Sequence< css::uno::Type > &types)
const PyRefgetWrappedObject () const
const css::uno::Sequence< css::uno::Type > & getWrappedTypes () const
virtual ~Adapter () 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
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override

Static Public Member Functions

static css::uno::Sequence< sal_Int8getUnoTunnelId ()

Private Member Functions

css::uno::Sequence< sal_Int16 > getOutIndexes (const OUString &functionName)

Private Attributes

PyRef mWrappedObject
PyInterpreterState * mInterpreter
css::uno::Sequence< css::uno::Type > mTypes
MethodOutIndexMap m_methodOutIndexMap

Detailed Description

Definition at line 248 of file pyuno_impl.hxx.

Constructor & Destructor Documentation

pyuno::Adapter::Adapter ( const PyRef obj,
const css::uno::Sequence< css::uno::Type > &  types 

Definition at line 55 of file pyuno_adapter.cxx.

pyuno::Adapter::~Adapter ( )

Member Function Documentation

Reference< XIntrospectionAccess > pyuno::Adapter::getIntrospection ( )

Definition at line 99 of file pyuno_adapter.cxx.

Sequence< sal_Int16 > pyuno::Adapter::getOutIndexes ( const OUString &  functionName)
sal_Int64 pyuno::Adapter::getSomething ( const css::uno::Sequence< sal_Int8 > &  aIdentifier)

Definition at line 76 of file pyuno_adapter.cxx.

References pyuno::g_id, and cppu::OImplementationId::getImplementationId().

Referenced by invoke().

Sequence< sal_Int8 > pyuno::Adapter::getUnoTunnelId ( )
Any pyuno::Adapter::getValue ( const OUString &  aPropertyName)
const PyRef& pyuno::Adapter::getWrappedObject ( ) const

Definition at line 265 of file pyuno_impl.hxx.

References mWrappedObject.

const css::uno::Sequence< css::uno::Type >& pyuno::Adapter::getWrappedTypes ( ) const

Definition at line 266 of file pyuno_impl.hxx.

References mTypes.

sal_Bool pyuno::Adapter::hasMethod ( const OUString &  aName)

Definition at line 394 of file pyuno_adapter.cxx.

References hasProperty().

sal_Bool pyuno::Adapter::hasProperty ( const OUString &  aName)

Definition at line 399 of file pyuno_adapter.cxx.

References pyuno::PyRef::get(), pyuno::guard, mInterpreter, mWrappedObject, and TO_ASCII.

Referenced by hasMethod(), and setValue().

Any pyuno::Adapter::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 
void pyuno::Adapter::setValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 

Member Data Documentation

MethodOutIndexMap pyuno::Adapter::m_methodOutIndexMap

Definition at line 254 of file pyuno_impl.hxx.

Referenced by getOutIndexes().

PyInterpreterState* pyuno::Adapter::mInterpreter

Definition at line 252 of file pyuno_impl.hxx.

Referenced by getValue(), hasProperty(), invoke(), setValue(), and ~Adapter().

css::uno::Sequence< css::uno::Type > pyuno::Adapter::mTypes

Definition at line 253 of file pyuno_impl.hxx.

Referenced by getOutIndexes(), and getWrappedTypes().

PyRef pyuno::Adapter::mWrappedObject

Definition at line 251 of file pyuno_impl.hxx.

Referenced by getValue(), getWrappedObject(), hasProperty(), invoke(), setValue(), and ~Adapter().

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