Information about a service. More...
#include <arcane/core/ServiceInfo.h>
Public Member Functions | |
| ServiceInfo (const String &local_name, const VersionInfo &version, Integer valid_dimension) | |
| Constructor. | |
| ~ServiceInfo () override | |
| Destructor. | |
| IServiceFactoryInfo * | factoryInfo () const override |
| Info on the factories available for this service. | |
| void | setFactoryInfo (IServiceFactoryInfo *sfi) |
| void | setAxlContent (const FileContent &file_content) |
| int | usageType () const override |
| Indicates where the service can be used. | |
Methods inherited from IServiceInfo | |
| String | localName () const override |
| Local part of the service name. | |
| String | namespaceURI () const override |
| Service name namespace. | |
| VersionInfo | version () const override |
| Service version. | |
| Real | axlVersion () const override |
| Version of the axl file describing this service. | |
| bool | allowDimension (Integer n) const override |
| Indicates if the service is usable in dimension n. | |
| void | addImplementedInterface (const String &name) override |
| Adds the name interface name to the interfaces implemented by this service. | |
| StringCollection | implementedInterfaces () const override |
| List of names of classes implemented by this service. | |
| const String & | caseOptionsFileName () const override |
| Name of the file containing the dataset (null if none). | |
| ServiceFactory2Collection | factories () const override |
| List of service factories. | |
| ISingletonServiceFactory * | singletonFactory () const override |
| Factory for singleton services (nullptr if not supported). | |
| String | tagName (const String &lang) const override |
| Name of the service XML element for the language lang. If lang is null, returns the default name. | |
| const FileContent & | axlContent () const override |
| Content of the AXL file associated with this service or module. | |
Specific construction methods | |
| virtual void | setAxlVersion (Real v) const |
| virtual void | setCaseOptionsFileName (const String &fn) |
| virtual void | addFactory (IServiceFactory2 *factory) |
| virtual void | setDefaultTagName (const String &value) |
| virtual void | setTagName (const String &value, const String &lang) |
| virtual void | setSingletonFactory (Internal::ISingletonServiceFactory *f) |
| Public Member Functions inherited from Arcane::IServiceInfo | |
| virtual | ~IServiceInfo ()=default |
| Frees resources. | |
Static Public Member Functions | |
| static ServiceInfo * | create (const ServiceProperty &sp, const char *filename, int lineno) |
| static ServiceInfo * | create (const String &name, int service_type) |
Private Attributes | |
| ServiceInfoPrivate * | m_p |
Additional Inherited Members | |
| Static Public Attributes inherited from Arcane::IServiceInfo | |
| static const Integer | Dim1 = 1 |
| static const Integer | Dim2 = 2 |
| static const Integer | Dim3 = 4 |
Information about a service.
Definition at line 49 of file ServiceInfo.h.
| Arcane::Internal::ServiceInfo::ServiceInfo | ( | const String & | local_name, |
| const VersionInfo & | version, | ||
| Integer | valid_dimension ) |
Constructor.
Definition at line 111 of file ServiceInfo.cc.
References version().
|
override |
Destructor.
Definition at line 121 of file ServiceInfo.cc.
|
virtual |
Definition at line 210 of file ServiceInfo.cc.
|
overridevirtual |
Adds the name interface name to the interfaces implemented by this service.
Implements Arcane::IServiceInfo.
Definition at line 172 of file ServiceInfo.cc.
Referenced by Arcane::Internal::ServiceInterfaceRegisterer< InterfaceType >::registerToServiceInfo().
|
overridevirtual |
Indicates if the service is usable in dimension n.
Implements Arcane::IServiceInfo.
Definition at line 157 of file ServiceInfo.cc.
|
overridevirtual |
Content of the AXL file associated with this service or module.
Implements Arcane::IServiceInfo.
Definition at line 316 of file ServiceInfo.cc.
|
overridevirtual |
Version of the axl file describing this service.
Implements Arcane::IServiceInfo.
Definition at line 277 of file ServiceInfo.cc.
|
overridevirtual |
Name of the file containing the dataset (null if none).
Implements Arcane::IServiceInfo.
Definition at line 192 of file ServiceInfo.cc.
|
static |
Definition at line 334 of file ServiceInfo.cc.
|
static |
Definition at line 354 of file ServiceInfo.cc.
|
overridevirtual |
List of service factories.
Implements Arcane::IServiceInfo.
Definition at line 219 of file ServiceInfo.cc.
|
overridevirtual |
Info on the factories available for this service.
Implements Arcane::IServiceInfo.
Definition at line 295 of file ServiceInfo.cc.
|
overridevirtual |
List of names of classes implemented by this service.
Implements Arcane::IServiceInfo.
Definition at line 183 of file ServiceInfo.cc.
|
overridevirtual |
Local part of the service name.
Implements Arcane::IServiceInfo.
Definition at line 139 of file ServiceInfo.cc.
|
overridevirtual |
Service name namespace.
Implements Arcane::IServiceInfo.
Definition at line 130 of file ServiceInfo.cc.
| void Arcane::Internal::ServiceInfo::setAxlContent | ( | const FileContent & | file_content | ) |
Definition at line 310 of file ServiceInfo.cc.
|
virtual |
Definition at line 286 of file ServiceInfo.cc.
|
virtual |
Definition at line 201 of file ServiceInfo.cc.
|
virtual |
Definition at line 259 of file ServiceInfo.cc.
| void Arcane::Internal::ServiceInfo::setFactoryInfo | ( | IServiceFactoryInfo * | sfi | ) |
Definition at line 304 of file ServiceInfo.cc.
|
virtual |
Definition at line 237 of file ServiceInfo.cc.
|
virtual |
Definition at line 268 of file ServiceInfo.cc.
|
overridevirtual |
Factory for singleton services (nullptr if not supported).
Implements Arcane::IServiceInfo.
Definition at line 228 of file ServiceInfo.cc.
Name of the service XML element for the language lang. If lang is null, returns the default name.
Implements Arcane::IServiceInfo.
Definition at line 247 of file ServiceInfo.cc.
References Arcane::String::null().
|
overridevirtual |
Indicates where the service can be used.
It is a combination of eServiceType values.
Implements Arcane::IServiceInfo.
Definition at line 325 of file ServiceInfo.cc.
|
overridevirtual |
Service version.
Implements Arcane::IServiceInfo.
Definition at line 148 of file ServiceInfo.cc.
Referenced by ServiceInfo().
|
private |
Definition at line 107 of file ServiceInfo.h.