LibreOffice Module pyuno (master) 1
|
#include <pyuno_impl.hxx>
Public Member Functions | |
Adapter (PyRef obj, const css::uno::Sequence< css::uno::Type > &types) | |
const PyRef & | getWrappedObject () 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 const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
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 |
Definition at line 248 of file pyuno_impl.hxx.
pyuno::Adapter::Adapter | ( | PyRef | obj, |
const css::uno::Sequence< css::uno::Type > & | types | ||
) |
Definition at line 55 of file pyuno_adapter.cxx.
|
overridevirtual |
Definition at line 61 of file pyuno_adapter.cxx.
References pyuno::decreaseRefCount(), pyuno::PyRef::get(), mInterpreter, mWrappedObject, and pyuno::PyRef::scratch().
|
overridevirtual |
Definition at line 96 of file pyuno_adapter.cxx.
|
private |
Definition at line 102 of file pyuno_adapter.cxx.
References Any, pyuno::stRuntimeImpl::cargo, comphelper::containerToSequence(), pyuno::Runtime::getImpl(), i, m_methodOutIndexMap, mTypes, pyuno::RuntimeCargo::xAdapterFactory, and pyuno::RuntimeCargo::xIntrospection.
Referenced by invoke().
|
overridevirtual |
Definition at line 75 of file pyuno_adapter.cxx.
References comphelper::getSomethingImpl().
Referenced by invoke().
Definition at line 69 of file pyuno_adapter.cxx.
References comphelper::UnoIdInit::getSeq().
|
overridevirtual |
Definition at line 368 of file pyuno_adapter.cxx.
References Any, pyuno::PyRef::get(), pyuno::guard, pyuno::PyRef::is(), mInterpreter, mWrappedObject, pyuno::Runtime::pyObject2Any(), and TO_ASCII.
|
inline |
Definition at line 265 of file pyuno_impl.hxx.
References mWrappedObject.
|
inline |
Definition at line 266 of file pyuno_impl.hxx.
References mTypes.
|
overridevirtual |
Definition at line 391 of file pyuno_adapter.cxx.
References hasProperty().
|
overridevirtual |
Definition at line 396 of file pyuno_adapter.cxx.
References pyuno::PyRef::get(), pyuno::guard, mInterpreter, mWrappedObject, and TO_ASCII.
Referenced by hasMethod(), and setValue().
|
overridevirtual |
Definition at line 161 of file pyuno_adapter.cxx.
References Any, pyuno::Runtime::any2PyObject(), pyuno::LogLevel::CALL, pyuno::stRuntimeImpl::cargo, pyuno::PyRef::get(), pyuno::PyRef::getAcquired(), pyuno::Runtime::getImpl(), getOutIndexes(), getSomething(), pyuno::guard, i, pyuno::PyRef::is(), pyuno::isLog(), pyuno::logCall(), pyuno::logException(), pyuno::logReply(), mInterpreter, mWrappedObject, pyuno::NOT_NULL, pyuno::Runtime::pyObject2Any(), pyuno::pyString2ustring(), pyuno::raiseInvocationTargetExceptionWhenNeeded(), size, and TO_ASCII.
|
overridevirtual |
Definition at line 336 of file pyuno_adapter.cxx.
References pyuno::Runtime::any2PyObject(), pyuno::PyRef::get(), cppu::getCaughtException(), pyuno::guard, hasProperty(), mInterpreter, mWrappedObject, pyuno::raiseInvocationTargetExceptionWhenNeeded(), TO_ASCII, and value.
|
private |
Definition at line 254 of file pyuno_impl.hxx.
Referenced by getOutIndexes().
|
private |
Definition at line 252 of file pyuno_impl.hxx.
Referenced by getValue(), hasProperty(), invoke(), setValue(), and ~Adapter().
|
private |
Definition at line 253 of file pyuno_impl.hxx.
Referenced by getOutIndexes(), and getWrappedTypes().
|
private |
Definition at line 251 of file pyuno_impl.hxx.
Referenced by getValue(), getWrappedObject(), hasProperty(), invoke(), setValue(), and ~Adapter().