12#ifndef ARCANE_CORE_SERVICEINFO_H
13#define ARCANE_CORE_SERVICEINFO_H
17#include "arcane/utils/String.h"
18#include "arcane/utils/FileContent.h"
19#include "arcane/core/IServiceInfo.h"
79 virtual void setAxlVersion(
Real v)
const;
80 virtual void setCaseOptionsFileName(
const String& fn);
82 virtual void setDefaultTagName(
const String& value);
83 virtual void setTagName(
const String& value,
const String& lang);
91 void setAxlContent(
const FileContent& file_content);
Description and content of a file.
Information about a service factory.
Interface for service or module information.
ServiceInfo(const String &local_name, const VersionInfo &version, Integer valid_dimension)
Constructor.
const FileContent & axlContent() const override
Content of the AXL file associated with this service or module.
String localName() const override
Local part of the service name.
String namespaceURI() const override
Service name namespace.
bool allowDimension(Integer n) const override
Indicates if the service is usable in dimension n.
VersionInfo version() const override
Service version.
StringCollection implementedInterfaces() const override
List of names of classes implemented by this service.
ServiceFactory2Collection factories() const override
List of service factories.
void addImplementedInterface(const String &name) override
Adds the name interface name to the interfaces implemented by this service.
ISingletonServiceFactory * singletonFactory() const override
Factory for singleton services (nullptr if not supported).
int usageType() const override
Indicates where the service can be used.
const String & caseOptionsFileName() const override
Name of the file containing the dataset (null if none).
IServiceFactoryInfo * factoryInfo() const override
Info on the factories available for this service.
Real axlVersion() const override
Version of the axl file describing this service.
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.
Service creation properties.
Unicode character string.
Information about a version.
Internal types of Arcane.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
Collection< String > StringCollection
Collection of strings.
Collection< Internal::IServiceFactory2 * > ServiceFactory2Collection
Collection of service factories.
double Real
Type representing a real number.