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:
[legend]
Collaboration diagram for cppuhelper::TypeManager:
[legend]

Public Member Functions

 TypeManager ()
 
void init (OUString const &rdbUris)
 
css::uno::Any find (OUString const &name)
 
css::uno::Reference< css::reflection::XTypeDescription > resolve (OUString const &name)
 

Private Member Functions

virtual ~TypeManager () override throw ()
 
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 (OUString const &uri, bool optional)
 
void readRdbFile (OUString const &uri, bool optional)
 
css::uno::Any getSequenceType (OUString const &name)
 
css::uno::Any getInstantiatedStruct (OUString const &name, sal_Int32 separator)
 
css::uno::Any getInterfaceMember (OUString const &name, sal_Int32 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, OUString const &member)
 
static css::uno::Any getConstant (OUString const &constantGroupName, rtl::Reference< unoidl::ConstantGroupEntity > const &entity, OUString const &member)
 

Private Attributes

rtl::Reference< unoidl::Managermanager_
 
- Private Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 

Detailed Description

Definition at line 43 of file typemanager.hxx.

Constructor & Destructor Documentation

TypeManager::TypeManager ( )

Definition at line 1798 of file typemanager.cxx.

References m_aMutex, and manager_.

TypeManager::~TypeManager ( )
throw (
)
overrideprivatevirtual

Definition at line 1884 of file typemanager.cxx.

Member Function Documentation

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

Definition at line 1936 of file typemanager.cxx.

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

Definition at line 1886 of file typemanager.cxx.

css::uno::Any TypeManager::find ( OUString const &  name)
rtl::Reference< unoidl::Entity > TypeManager::findEntity ( OUString const &  name)
private
css::uno::Any TypeManager::getByHierarchicalName ( OUString const &  aName)
overrideprivatevirtual

Definition at line 1906 of file typemanager.cxx.

References find().

css::uno::Any TypeManager::getConstant ( OUString const &  constantGroupName,
rtl::Reference< unoidl::ConstantGroupEntity > const &  entity,
OUString const &  member 
)
staticprivate

Definition at line 2252 of file typemanager.cxx.

References i.

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

Definition at line 1923 of file typemanager.cxx.

References cppu::UnoType< class >::get().

css::uno::Any TypeManager::getEnumMember ( rtl::Reference< unoidl::EnumTypeEntity > const &  entity,
OUString const &  member 
)
staticprivate

Definition at line 2241 of file typemanager.cxx.

References i.

OUString TypeManager::getImplementationName ( )
overrideprivatevirtual

Definition at line 1888 of file typemanager.cxx.

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

Definition at line 2126 of file typemanager.cxx.

References assert(), find(), m, and resolveTypedefs().

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

Definition at line 2066 of file typemanager.cxx.

References assert().

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

Definition at line 1901 of file typemanager.cxx.

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

Definition at line 1943 of file typemanager.cxx.

sal_Bool TypeManager::hasByHierarchicalName ( OUString const &  aName)
overrideprivatevirtual

Definition at line 1917 of file typemanager.cxx.

References find().

sal_Bool TypeManager::hasElements ( )
overrideprivatevirtual

Definition at line 1928 of file typemanager.cxx.

void TypeManager::init ( OUString const &  rdbUris)

Definition at line 2002 of file typemanager.cxx.

References cppu::decodeRdbUri(), i, and uri.

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

Definition at line 1950 of file typemanager.cxx.

References uri.

void TypeManager::readRdbDirectory ( OUString const &  uri,
bool  optional 
)
private

Definition at line 2019 of file typemanager.cxx.

References cppu::nextDirectoryItem(), and SAL_INFO.

void TypeManager::readRdbFile ( OUString const &  uri,
bool  optional 
)
private
void TypeManager::remove ( css::uno::Any const &  aElement)
overrideprivatevirtual

Definition at line 1964 of file typemanager.cxx.

References uri.

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

Definition at line 1873 of file typemanager.cxx.

References find().

sal_Bool TypeManager::supportsService ( OUString const &  ServiceName)
overrideprivatevirtual

Definition at line 1894 of file typemanager.cxx.

References cppu::supportsService().

Member Data Documentation

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

Definition at line 120 of file typemanager.hxx.


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