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

#include <typemanager.hxx>

Inheritance diagram for cppuhelper::TypeManager:
Collaboration diagram for cppuhelper::TypeManager:

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)

Private Member Functions

virtual ~TypeManager () noexcept override
virtual void SAL_CALL disposing () 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::EntityfindEntity (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::Managermanager_
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex

Detailed Description

Definition at line 45 of file typemanager.hxx.

Constructor & Destructor Documentation

◆ TypeManager()

TypeManager::TypeManager ( )

Definition at line 1827 of file typemanager.cxx.

References m_aMutex, and manager_.

◆ ~TypeManager()

TypeManager::~TypeManager ( )

Definition at line 1907 of file typemanager.cxx.

Member Function Documentation

◆ createEnumeration()

css::uno::Reference< css::container::XEnumeration > TypeManager::createEnumeration ( )

Definition at line 1959 of file typemanager.cxx.

◆ createTypeDescriptionEnumeration()

css::uno::Reference< css::reflection::XTypeDescriptionEnumeration > TypeManager::createTypeDescriptionEnumeration ( OUString const &  moduleName,
css::uno::Sequence< css::uno::TypeClass > const &  types,
css::reflection::TypeDescriptionSearchDepth  depth 

◆ disposing()

void TypeManager::disposing ( )

Definition at line 1909 of file typemanager.cxx.

◆ find()

css::uno::Any TypeManager::find ( OUString const &  name)

◆ findEntity()

rtl::Reference< unoidl::Entity > TypeManager::findEntity ( OUString const &  name)

◆ getByHierarchicalName()

css::uno::Any TypeManager::getByHierarchicalName ( OUString const &  aName)

Definition at line 1929 of file typemanager.cxx.

References aName, and find().

◆ getConstant()

css::uno::Any TypeManager::getConstant ( std::u16string_view  constantGroupName,
rtl::Reference< unoidl::ConstantGroupEntity > const &  entity,
std::u16string_view  member 

Definition at line 2275 of file typemanager.cxx.

References i.

◆ getElementType()

css::uno::Type TypeManager::getElementType ( )

Definition at line 1946 of file typemanager.cxx.

References cppu::UnoType< typename T >::get().

◆ getEnumMember()

css::uno::Any TypeManager::getEnumMember ( rtl::Reference< unoidl::EnumTypeEntity > const &  entity,
std::u16string_view  member 

Definition at line 2264 of file typemanager.cxx.

References i.

◆ getImplementationName()

OUString TypeManager::getImplementationName ( )

Definition at line 1911 of file typemanager.cxx.

◆ getInstantiatedStruct()

css::uno::Any TypeManager::getInstantiatedStruct ( OUString const &  name,
sal_Int32  separator 

◆ getInterfaceMember()

css::uno::Any TypeManager::getInterfaceMember ( std::u16string_view  name,
std::size_t  separator 

Definition at line 2149 of file typemanager.cxx.

References find(), m, name, separator, and u.

◆ getNamed()

css::uno::Any TypeManager::getNamed ( OUString const &  name,
rtl::Reference< unoidl::Entity > const &  entity 

◆ getSequenceType()

css::uno::Any TypeManager::getSequenceType ( OUString const &  name)

Definition at line 2089 of file typemanager.cxx.

References name.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > TypeManager::getSupportedServiceNames ( )

Definition at line 1924 of file typemanager.cxx.

◆ has()

sal_Bool TypeManager::has ( css::uno::Any const &  aElement)

Definition at line 1966 of file typemanager.cxx.

◆ hasByHierarchicalName()

sal_Bool TypeManager::hasByHierarchicalName ( OUString const &  aName)

Definition at line 1940 of file typemanager.cxx.

References aName, and find().

◆ hasElements()

sal_Bool TypeManager::hasElements ( )

Definition at line 1951 of file typemanager.cxx.

◆ init()

void TypeManager::init ( std::u16string_view  rdbUris)

Definition at line 2025 of file typemanager.cxx.

References cppu::decodeRdbUri(), o3tl::getToken(), and i.

◆ insert()

void TypeManager::insert ( css::uno::Any const &  aElement)

Definition at line 1973 of file typemanager.cxx.

◆ readRdbDirectory()

void TypeManager::readRdbDirectory ( std::u16string_view  uri,
bool  optional 

Definition at line 2042 of file typemanager.cxx.

References cppu::nextDirectoryItem(), and SAL_INFO.

◆ readRdbFile()

void TypeManager::readRdbFile ( std::u16string_view  uri,
bool  optional 

◆ remove()

void TypeManager::remove ( css::uno::Any const &  aElement)

Definition at line 1987 of file typemanager.cxx.

◆ resolve()

css::uno::Reference< css::reflection::XTypeDescription > TypeManager::resolve ( OUString const &  name)

Definition at line 1896 of file typemanager.cxx.

References find(), and name.

◆ supportsService()

sal_Bool TypeManager::supportsService ( OUString const &  ServiceName)

Definition at line 1917 of file typemanager.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ manager_

rtl::Reference< unoidl::Manager > cppuhelper::TypeManager::manager_

Definition at line 122 of file typemanager.hxx.

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