The IFactoryRegistry interface. More...

#include "murl_resource_i_factory_registry.h"

Inheritance diagram for Murl::Resource::IFactoryRegistry:

Public Member Functions

virtual Bool RegisterCollectionFactoryClass (const ICollectionFactory::ClassInfo &classInfo)=0
 Register a collection factory class. More...
 
virtual Bool UnregisterCollectionFactoryClass (const ICollectionFactory::ClassInfo &classInfo)=0
 Unregister a previously registered collection factory class. More...
 
virtual Bool RegisterPackageFactoryClass (const IPackageFactory::ClassInfo &classInfo)=0
 Register a package factory class. More...
 
virtual Bool UnregisterPackageFactoryClass (const IPackageFactory::ClassInfo &classInfo)=0
 Unregister a previously registered package factory class. More...
 
virtual Bool RegisterObjectFactoryClass (const IObjectFactory::ClassInfo &classInfo)=0
 Register an object factory class. More...
 
virtual Bool UnregisterObjectFactoryClass (const IObjectFactory::ClassInfo &classInfo)=0
 Unregister a previously registered object factory class. More...
 
virtual UInt32 GetNumberOfCollectionFactoryRegistries () const =0
 Get the total number of known collection factory registries. More...
 
virtual ICollectionFactoryRegistryGetCollectionFactoryRegistry (UInt32 index)=0
 Get the registry interface of the collection factory at a given index. More...
 
virtual const ICollectionFactoryRegistryGetCollectionFactoryRegistry (UInt32 index) const =0
 Get the registry interface of the collection factory at a given index. More...
 
virtual ICollectionFactoryRegistryGetDefaultCollectionFactoryRegistry ()=0
 Get the registry interface of the default collection factory. More...
 
virtual const ICollectionFactoryRegistryGetDefaultCollectionFactoryRegistry () const =0
 Get the registry interface of the default collection factory. More...
 
virtual ICollectionFactoryRegistryGetCollectionFactoryRegistry (const String &className)=0
 Get the registry interface of a known collection factory by its class name. More...
 
virtual const ICollectionFactoryRegistryGetCollectionFactoryRegistry (const String &className) const =0
 Get the registry interface of a known collection factory by its class name. More...
 
virtual ICollectionFactoryRegistryGetCollectionFactoryRegistry (const ICollectionFactory::ClassInfo &classInfo)=0
 Get the registry interface of a known collection factory by its class info structure. More...
 
virtual const ICollectionFactoryRegistryGetCollectionFactoryRegistry (const ICollectionFactory::ClassInfo &classInfo) const =0
 Get the registry interface of a known collection factory by its class info structure. More...
 
virtual UInt32 GetNumberOfPackageFactoryRegistries () const =0
 Get the total number of known package factory registries. More...
 
virtual IPackageFactoryRegistryGetPackageFactoryRegistry (UInt32 index)=0
 Get the registry interface of the package factory at a given index. More...
 
virtual const IPackageFactoryRegistryGetPackageFactoryRegistry (UInt32 index) const =0
 Get the registry interface of the package factory at a given index. More...
 
virtual IPackageFactoryRegistryGetDefaultPackageFactoryRegistry ()=0
 Get the registry interface of the default package factory. More...
 
virtual const IPackageFactoryRegistryGetDefaultPackageFactoryRegistry () const =0
 Get the registry interface of the default package factory. More...
 
virtual IPackageFactoryRegistryGetPackageFactoryRegistry (const String &className)=0
 Get the registry interface of a known package factory by its class name. More...
 
virtual const IPackageFactoryRegistryGetPackageFactoryRegistry (const String &className) const =0
 Get the registry interface of a known package factory by its class name. More...
 
virtual IPackageFactoryRegistryGetPackageFactoryRegistry (const IPackageFactory::ClassInfo &classInfo)=0
 Get the registry interface of a known package factory by its class info structure. More...
 
virtual const IPackageFactoryRegistryGetPackageFactoryRegistry (const IPackageFactory::ClassInfo &classInfo) const =0
 Get the registry interface of a known package factory by its class info structure. More...
 
virtual UInt32 GetNumberOfObjectFactoryRegistries () const =0
 Get the total number of known object factory registries. More...
 
virtual IObjectFactoryRegistryGetObjectFactoryRegistry (UInt32 index)=0
 Get the registry interface of the object factory at a given index. More...
 
virtual const IObjectFactoryRegistryGetObjectFactoryRegistry (UInt32 index) const =0
 Get the registry interface of the object factory at a given index. More...
 
virtual IObjectFactoryRegistryGetDefaultObjectFactoryRegistry ()=0
 Get the registry interface of the default object factory. More...
 
virtual const IObjectFactoryRegistryGetDefaultObjectFactoryRegistry () const =0
 Get the registry interface of the default object factory. More...
 
virtual IObjectFactoryRegistryGetObjectFactoryRegistry (const String &className)=0
 Get the registry interface of a known object factory by its class name. More...
 
virtual const IObjectFactoryRegistryGetObjectFactoryRegistry (const String &className) const =0
 Get the registry interface of a known object factory by its class name. More...
 
virtual IObjectFactoryRegistryGetObjectFactoryRegistry (const IObjectFactory::ClassInfo &classInfo)=0
 Get the registry interface of a known object factory by its class info structure. More...
 
virtual const IObjectFactoryRegistryGetObjectFactoryRegistry (const IObjectFactory::ClassInfo &classInfo) const =0
 Get the registry interface of a known object factory by its class info structure. More...
 

Detailed Description

The IFactoryRegistry interface.

The IFactoryRegistry interface provides methods to add, remove and query different sub-factory classes for creating collections, packages and individual objects. The Resource::IFactory interfaces derives from this interface, in order to be able to actually instantiate any entities via the set of classes present in the registry.

Member Function Documentation

◆ RegisterCollectionFactoryClass()

virtual Bool Murl::Resource::IFactoryRegistry::RegisterCollectionFactoryClass ( const ICollectionFactory::ClassInfo &  classInfo)
pure virtual

Register a collection factory class.

Parameters
classInfoThe ClassInfo structure of the collection factory to register.
Returns
true if successful.

◆ UnregisterCollectionFactoryClass()

virtual Bool Murl::Resource::IFactoryRegistry::UnregisterCollectionFactoryClass ( const ICollectionFactory::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered collection factory class.

Parameters
classInfoThe ClassInfo structure of the collection factory to unregister.
Returns
true if successful.

◆ RegisterPackageFactoryClass()

virtual Bool Murl::Resource::IFactoryRegistry::RegisterPackageFactoryClass ( const IPackageFactory::ClassInfo &  classInfo)
pure virtual

Register a package factory class.

Parameters
classInfoThe ClassInfo structure of the package factory to register.
Returns
true if successful.

◆ UnregisterPackageFactoryClass()

virtual Bool Murl::Resource::IFactoryRegistry::UnregisterPackageFactoryClass ( const IPackageFactory::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered package factory class.

Parameters
classInfoThe ClassInfo structure of the package factory to unregister.
Returns
true if successful.

◆ RegisterObjectFactoryClass()

virtual Bool Murl::Resource::IFactoryRegistry::RegisterObjectFactoryClass ( const IObjectFactory::ClassInfo &  classInfo)
pure virtual

Register an object factory class.

Parameters
classInfoThe ClassInfo structure of the object factory to register.
Returns
true if successful.

◆ UnregisterObjectFactoryClass()

virtual Bool Murl::Resource::IFactoryRegistry::UnregisterObjectFactoryClass ( const IObjectFactory::ClassInfo &  classInfo)
pure virtual

Unregister a previously registered object factory class.

Parameters
classInfoThe ClassInfo structure of the object factory to unregister.
Returns
true if successful.

◆ GetNumberOfCollectionFactoryRegistries()

virtual UInt32 Murl::Resource::IFactoryRegistry::GetNumberOfCollectionFactoryRegistries ( ) const
pure virtual

Get the total number of known collection factory registries.

Returns
The number of known registries.

◆ GetCollectionFactoryRegistry() [1/6]

virtual ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetCollectionFactoryRegistry ( UInt32  index)
pure virtual

Get the registry interface of the collection factory at a given index.

Parameters
indexThe index, from 0 to GetNumberOfCollectionFactoryRegistries()-1.
Returns
A mutable pointer to the collection factory's registry interface.

◆ GetCollectionFactoryRegistry() [2/6]

virtual const ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetCollectionFactoryRegistry ( UInt32  index) const
pure virtual

Get the registry interface of the collection factory at a given index.

Parameters
indexThe index, from 0 to GetNumberOfCollectionFactoryRegistries()-1.
Returns
A constant pointer to the collection factory's registry interface.

◆ GetDefaultCollectionFactoryRegistry() [1/2]

virtual ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetDefaultCollectionFactoryRegistry ( )
pure virtual

Get the registry interface of the default collection factory.

Returns
A mutable pointer to the default collection factory's registry interface.

◆ GetDefaultCollectionFactoryRegistry() [2/2]

virtual const ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetDefaultCollectionFactoryRegistry ( ) const
pure virtual

Get the registry interface of the default collection factory.

Returns
A constant pointer to the default collection factory's registry interface.

◆ GetCollectionFactoryRegistry() [3/6]

virtual ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetCollectionFactoryRegistry ( const String className)
pure virtual

Get the registry interface of a known collection factory by its class name.

Parameters
classNameThe class name of the factory to query.
Returns
A mutable pointer to the requested collection factory's registry interface, or null if not found.

◆ GetCollectionFactoryRegistry() [4/6]

virtual const ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetCollectionFactoryRegistry ( const String className) const
pure virtual

Get the registry interface of a known collection factory by its class name.

Parameters
classNameThe class name of the factory to query.
Returns
A constant pointer to the requested collection factory's registry interface, or null if not found.

◆ GetCollectionFactoryRegistry() [5/6]

virtual ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetCollectionFactoryRegistry ( const ICollectionFactory::ClassInfo &  classInfo)
pure virtual

Get the registry interface of a known collection factory by its class info structure.

Parameters
classInfoThe factory's ClassInfo structure.
Returns
A mutable pointer to the requested collection factory's registry interface, or null if not found.

◆ GetCollectionFactoryRegistry() [6/6]

virtual const ICollectionFactoryRegistry* Murl::Resource::IFactoryRegistry::GetCollectionFactoryRegistry ( const ICollectionFactory::ClassInfo &  classInfo) const
pure virtual

Get the registry interface of a known collection factory by its class info structure.

Parameters
classInfoThe factory's ClassInfo structure.
Returns
A constant pointer to the requested collection factory's registry interface, or null if not found.

◆ GetNumberOfPackageFactoryRegistries()

virtual UInt32 Murl::Resource::IFactoryRegistry::GetNumberOfPackageFactoryRegistries ( ) const
pure virtual

Get the total number of known package factory registries.

Returns
The number of known registries.

◆ GetPackageFactoryRegistry() [1/6]

virtual IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetPackageFactoryRegistry ( UInt32  index)
pure virtual

Get the registry interface of the package factory at a given index.

Parameters
indexThe index, from 0 to GetNumberOfPackageFactoryRegistries()-1.
Returns
A mutable pointer to the package factory's registry interface.

◆ GetPackageFactoryRegistry() [2/6]

virtual const IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetPackageFactoryRegistry ( UInt32  index) const
pure virtual

Get the registry interface of the package factory at a given index.

Parameters
indexThe index, from 0 to GetNumberOfPackageFactoryRegistries()-1.
Returns
A constant pointer to the package factory's registry interface.

◆ GetDefaultPackageFactoryRegistry() [1/2]

virtual IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetDefaultPackageFactoryRegistry ( )
pure virtual

Get the registry interface of the default package factory.

Returns
A mutable pointer to the default package factory's registry interface.

◆ GetDefaultPackageFactoryRegistry() [2/2]

virtual const IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetDefaultPackageFactoryRegistry ( ) const
pure virtual

Get the registry interface of the default package factory.

Returns
A constant pointer to the default package factory's registry interface.

◆ GetPackageFactoryRegistry() [3/6]

virtual IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetPackageFactoryRegistry ( const String className)
pure virtual

Get the registry interface of a known package factory by its class name.

Parameters
classNameThe class name of the factory to query.
Returns
A mutable pointer to the requested package factory's registry interface, or null if not found.

◆ GetPackageFactoryRegistry() [4/6]

virtual const IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetPackageFactoryRegistry ( const String className) const
pure virtual

Get the registry interface of a known package factory by its class name.

Parameters
classNameThe class name of the factory to query.
Returns
A constant pointer to the requested package factory's registry interface, or null if not found.

◆ GetPackageFactoryRegistry() [5/6]

virtual IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetPackageFactoryRegistry ( const IPackageFactory::ClassInfo &  classInfo)
pure virtual

Get the registry interface of a known package factory by its class info structure.

Parameters
classInfoThe factory's ClassInfo structure.
Returns
A mutable pointer to the requested package factory's registry interface, or null if not found.

◆ GetPackageFactoryRegistry() [6/6]

virtual const IPackageFactoryRegistry* Murl::Resource::IFactoryRegistry::GetPackageFactoryRegistry ( const IPackageFactory::ClassInfo &  classInfo) const
pure virtual

Get the registry interface of a known package factory by its class info structure.

Parameters
classInfoThe factory's ClassInfo structure.
Returns
A constant pointer to the requested package factory's registry interface, or null if not found.

◆ GetNumberOfObjectFactoryRegistries()

virtual UInt32 Murl::Resource::IFactoryRegistry::GetNumberOfObjectFactoryRegistries ( ) const
pure virtual

Get the total number of known object factory registries.

Returns
The number of known registries.

◆ GetObjectFactoryRegistry() [1/6]

virtual IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetObjectFactoryRegistry ( UInt32  index)
pure virtual

Get the registry interface of the object factory at a given index.

Parameters
indexThe index, from 0 to GetNumberOfObjectFactoryRegistries()-1.
Returns
A mutable pointer to the object factory's registry interface.

◆ GetObjectFactoryRegistry() [2/6]

virtual const IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetObjectFactoryRegistry ( UInt32  index) const
pure virtual

Get the registry interface of the object factory at a given index.

Parameters
indexThe index, from 0 to GetNumberOfObjectFactoryRegistries()-1.
Returns
A constant pointer to the object factory's registry interface.

◆ GetDefaultObjectFactoryRegistry() [1/2]

virtual IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetDefaultObjectFactoryRegistry ( )
pure virtual

Get the registry interface of the default object factory.

Returns
A mutable pointer to the default object factory's registry interface.

◆ GetDefaultObjectFactoryRegistry() [2/2]

virtual const IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetDefaultObjectFactoryRegistry ( ) const
pure virtual

Get the registry interface of the default object factory.

Returns
A constant pointer to the default object factory's registry interface.

◆ GetObjectFactoryRegistry() [3/6]

virtual IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetObjectFactoryRegistry ( const String className)
pure virtual

Get the registry interface of a known object factory by its class name.

Parameters
classNameThe class name of the factory to query.
Returns
A mutable pointer to the requested object factory's registry interface, or null if not found.

◆ GetObjectFactoryRegistry() [4/6]

virtual const IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetObjectFactoryRegistry ( const String className) const
pure virtual

Get the registry interface of a known object factory by its class name.

Parameters
classNameThe class name of the factory to query.
Returns
A constant pointer to the requested object factory's registry interface, or null if not found.

◆ GetObjectFactoryRegistry() [5/6]

virtual IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetObjectFactoryRegistry ( const IObjectFactory::ClassInfo &  classInfo)
pure virtual

Get the registry interface of a known object factory by its class info structure.

Parameters
classInfoThe factory's ClassInfo structure.
Returns
A mutable pointer to the requested object factory's registry interface, or null if not found.

◆ GetObjectFactoryRegistry() [6/6]

virtual const IObjectFactoryRegistry* Murl::Resource::IFactoryRegistry::GetObjectFactoryRegistry ( const IObjectFactory::ClassInfo &  classInfo) const
pure virtual

Get the registry interface of a known object factory by its class info structure.

Parameters
classInfoThe factory's ClassInfo structure.
Returns
A constant pointer to the requested object factory's registry interface, or null if not found.

The documentation for this interface was generated from the following file:
  • murl_resource_i_factory_registry.h


Copyright © 2011-2018 Spraylight GmbH.