Interface for service or module information. More...
#include <arcane/core/IServiceInfo.h>
Public Member Functions | |
| virtual | ~IServiceInfo ()=default |
| Frees resources. | |
| virtual String | localName () const =0 |
| Local part of the service name. | |
| virtual String | namespaceURI () const =0 |
| Service name namespace. | |
| virtual VersionInfo | version () const =0 |
| Service version. | |
| virtual Real | axlVersion () const =0 |
| Version of the axl file describing this service. | |
| virtual bool | allowDimension (Integer n) const =0 |
| Indicates if the service is usable in dimension n. | |
| virtual void | addImplementedInterface (const String &name)=0 |
| Adds the name interface name to the interfaces implemented by this service. | |
| virtual StringCollection | implementedInterfaces () const =0 |
| List of names of classes implemented by this service. | |
| virtual const String & | caseOptionsFileName () const =0 |
| Name of the file containing the dataset (null if none). | |
| virtual ServiceFactory2Collection | factories () const =0 |
| List of service factories. | |
| virtual Internal::ISingletonServiceFactory * | singletonFactory () const =0 |
| Factory for singleton services (nullptr if not supported). | |
| virtual String | tagName (const String &lang) const =0 |
| Name of the service XML element for the language lang. If lang is null, returns the default name. | |
| virtual IServiceFactoryInfo * | factoryInfo () const =0 |
| Information on factories available for this service. | |
| virtual int | usageType () const =0 |
| Indicates where the service can be used. | |
| virtual const FileContent & | axlContent () const =0 |
| Content of the AXL file associated with this service or module. | |
Static Public Attributes | |
| static const Integer | Dim1 = 1 |
| static const Integer | Dim2 = 2 |
| static const Integer | Dim3 = 4 |
Interface for service or module information.
Definition at line 32 of file IServiceInfo.h.
|
pure virtual |
Adds the name interface name to the interfaces implemented by this service.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Indicates if the service is usable in dimension n.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Content of the AXL file associated with this service or module.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Version of the axl file describing this service.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Name of the file containing the dataset (null if none).
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
Referenced by Arcane::InternalInfosDumper::dumpArcaneDatabase().
|
pure virtual |
List of service factories.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Information on factories available for this service.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
Referenced by Arcane::ServiceAndModuleFactoryMng::_addFactoryFromServiceRegisterer(), Arcane::ServiceLoader::_loadServices(), and Arcane::ServiceLoader::loadSingletonService().
|
pure virtual |
List of names of classes implemented by this service.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Local part of the service name.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
Referenced by Arcane::ServiceAndModuleFactoryMng::addGlobalFactory(), Arcane::InternalInfosDumper::dumpArcaneDatabase(), Arcane::ServiceLoader::loadSingletonService(), Arcane::CaseOptionList::printChildren(), and Arcane::ServiceMng::singletonServiceReference().
|
pure virtual |
Service name namespace.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Factory for singleton services (nullptr if not supported).
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
Name of the service XML element for the language lang. If lang is null, returns the default name.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
Referenced by Arcane::TimeLoopMng::_fillModuleFactoryMap().
|
pure virtual |
Indicates where the service can be used.
It is a combination of eServiceType values.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
pure virtual |
Service version.
Implemented in Arcane::Internal::ServiceInfo, and Arcane::ServiceInfo.
|
static |
Definition at line 36 of file IServiceInfo.h.
|
static |
Definition at line 37 of file IServiceInfo.h.
|
static |
Definition at line 38 of file IServiceInfo.h.