LibreOffice Module cppuhelper (master) 1
|
#include <typemanager.hxx>
Public Member Functions | |
TypeManager () | |
void | init (std::u16string_view rdbUris) |
css::uno::Any | find (OUString const &name) |
css::uno::Reference< css::reflection::XTypeDescription > | resolve (OUString const &name) |
virtual void SAL_CALL | acquire () noexcept override |
increasing m_refCount More... | |
virtual void SAL_CALL | release () noexcept override |
decreasing m_refCount More... | |
Public Member Functions inherited from cppuhelper::WeakComponentImplHelper2< Ifc > | |
virtual void SAL_CALL | acquire () noexcept override |
increasing m_refCount More... | |
virtual void SAL_CALL | release () noexcept override |
decreasing m_refCount More... | |
virtual void SAL_CALL | dispose () noexcept final override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More... | |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
Public Member Functions inherited from cppuhelper::WeakComponentImplHelperBase2 | |
virtual | ~WeakComponentImplHelperBase2 () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual void SAL_CALL | removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) override |
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More... | |
virtual void | disposing (std::unique_lock< std::mutex > &) |
Called by dispose for subclasses to do dispose() work. More... | |
Public Member Functions inherited from cppuhelper::UnoImplBase | |
virtual | ~UnoImplBase () |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
Default Constructor. More... | |
OWeakObject (const OWeakObject &) | |
Dummy copy constructor. More... | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
Dummy assignment operator. More... | |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
Basic queryInterface() implementation supporting com::sun::star::uno::XWeak and com::sun::star::uno::XInterface. More... | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
increasing m_refCount More... | |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
decreasing m_refCount More... | |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
XWeak::queryAdapter() implementation. More... | |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Cast operator to XInterface reference. More... | |
Private Member Functions | |
virtual | ~TypeManager () noexcept override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (OUString const &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Any SAL_CALL | getByHierarchicalName (OUString const &aName) override |
virtual sal_Bool SAL_CALL | hasByHierarchicalName (OUString const &aName) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual sal_Bool SAL_CALL | has (css::uno::Any const &aElement) override |
virtual void SAL_CALL | insert (css::uno::Any const &aElement) override |
virtual void SAL_CALL | remove (css::uno::Any const &aElement) override |
virtual css::uno::Reference< css::reflection::XTypeDescriptionEnumeration > SAL_CALL | createTypeDescriptionEnumeration (OUString const &moduleName, css::uno::Sequence< css::uno::TypeClass > const &types, css::reflection::TypeDescriptionSearchDepth depth) override |
void | readRdbDirectory (std::u16string_view uri, bool optional) |
void | readRdbFile (std::u16string_view uri, bool optional) |
css::uno::Any | getSequenceType (OUString const &name) |
css::uno::Any | getInstantiatedStruct (OUString const &name, sal_Int32 separator) |
css::uno::Any | getInterfaceMember (std::u16string_view name, std::size_t separator) |
css::uno::Any | getNamed (OUString const &name, rtl::Reference< unoidl::Entity > const &entity) |
rtl::Reference< unoidl::Entity > | findEntity (OUString const &name) |
Static Private Member Functions | |
static css::uno::Any | getEnumMember (rtl::Reference< unoidl::EnumTypeEntity > const &entity, std::u16string_view member) |
static css::uno::Any | getConstant (std::u16string_view constantGroupName, rtl::Reference< unoidl::ConstantGroupEntity > const &entity, std::u16string_view member) |
Private Attributes | |
rtl::Reference< unoidl::Manager > | manager_ |
Additional Inherited Members | |
Protected Member Functions inherited from cppuhelper::WeakComponentImplHelperBase2 | |
void | throwIfDisposed (std::unique_lock< std::mutex > &) |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
Virtual dtor. More... | |
void | disposeWeakConnectionPoint () |
disposes and resets m_pWeakConnectionPoint More... | |
Protected Attributes inherited from cppuhelper::WeakComponentImplHelperBase2 | |
OInterfaceContainerHelper4< css::lang::XEventListener > | maEventListeners |
Protected Attributes inherited from cppuhelper::UnoImplBase | |
std::mutex | m_aMutex |
bool | m_bDisposed = false |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
reference count. More... | |
Definition at line 44 of file typemanager.hxx.
TypeManager::TypeManager | ( | ) |
Definition at line 1824 of file typemanager.cxx.
References manager_.
|
overrideprivatevirtualnoexcept |
Definition at line 1903 of file typemanager.cxx.
|
inlineoverridevirtualnoexcept |
increasing m_refCount
Reimplemented from cppuhelper::WeakComponentImplHelper2< Ifc >.
Definition at line 80 of file cppuhelper/inc/compbase2.hxx.
|
overrideprivatevirtual |
Definition at line 1953 of file typemanager.cxx.
|
overrideprivatevirtual |
Definition at line 1994 of file typemanager.cxx.
References unoidl::FileFormatException::getDetail(), unoidl::FileFormatException::getUri(), and manager_.
css::uno::Any TypeManager::find | ( | OUString const & | name | ) |
Definition at line 1828 of file typemanager.cxx.
References i, name, unoidl::Entity::SORT_CONSTANT_GROUP, unoidl::Entity::SORT_ENUM_TYPE, and u.
|
private |
Definition at line 2283 of file typemanager.cxx.
References unoidl::FileFormatException::getDetail(), unoidl::FileFormatException::getUri(), manager_, and name.
|
overrideprivatevirtual |
Definition at line 1923 of file typemanager.cxx.
|
staticprivate |
Definition at line 2269 of file typemanager.cxx.
References i.
|
overrideprivatevirtual |
Definition at line 1940 of file typemanager.cxx.
References cppu::UnoType< typename T >::get().
|
staticprivate |
Definition at line 2258 of file typemanager.cxx.
References i.
|
overrideprivatevirtual |
Definition at line 1905 of file typemanager.cxx.
|
private |
Definition at line 2093 of file typemanager.cxx.
References args, i, name, separator, and unoidl::Entity::SORT_POLYMORPHIC_STRUCT_TYPE_TEMPLATE.
|
private |
|
private |
Definition at line 2166 of file typemanager.cxx.
References name, unoidl::Entity::SORT_ACCUMULATION_BASED_SERVICE, unoidl::Entity::SORT_CONSTANT_GROUP, unoidl::Entity::SORT_ENUM_TYPE, unoidl::Entity::SORT_EXCEPTION_TYPE, unoidl::Entity::SORT_INTERFACE_BASED_SINGLETON, unoidl::Entity::SORT_INTERFACE_TYPE, unoidl::Entity::SORT_MODULE, unoidl::Entity::SORT_PLAIN_STRUCT_TYPE, unoidl::Entity::SORT_POLYMORPHIC_STRUCT_TYPE_TEMPLATE, unoidl::Entity::SORT_SERVICE_BASED_SINGLETON, unoidl::Entity::SORT_SINGLE_INTERFACE_BASED_SERVICE, and unoidl::Entity::SORT_TYPEDEF.
|
private |
Definition at line 2083 of file typemanager.cxx.
References name.
|
overrideprivatevirtual |
Definition at line 1918 of file typemanager.cxx.
|
overrideprivatevirtual |
Definition at line 1960 of file typemanager.cxx.
|
overrideprivatevirtual |
Definition at line 1934 of file typemanager.cxx.
|
overrideprivatevirtual |
Definition at line 1945 of file typemanager.cxx.
void TypeManager::init | ( | std::u16string_view | rdbUris | ) |
Definition at line 2019 of file typemanager.cxx.
References cppu::decodeRdbUri(), o3tl::getToken(), and i.
|
overrideprivatevirtual |
Definition at line 1967 of file typemanager.cxx.
|
private |
Definition at line 2036 of file typemanager.cxx.
References cppu::nextDirectoryItem(), and SAL_INFO.
|
private |
Definition at line 2063 of file typemanager.cxx.
References unoidl::FileFormatException::getDetail(), unoidl::FileFormatException::getUri(), manager_, and SAL_INFO.
|
inlineoverridevirtualnoexcept |
decreasing m_refCount
Reimplemented from cppuhelper::WeakComponentImplHelper2< Ifc >.
Definition at line 82 of file cppuhelper/inc/compbase2.hxx.
|
overrideprivatevirtual |
Definition at line 1981 of file typemanager.cxx.
css::uno::Reference< css::reflection::XTypeDescription > TypeManager::resolve | ( | OUString const & | name | ) |
Definition at line 1892 of file typemanager.cxx.
|
overrideprivatevirtual |
Definition at line 1911 of file typemanager.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 119 of file typemanager.hxx.