8#ifndef ARCANE_CASEOPTION_AXLSTAR_ARCANE_ARCANEMESHCONVERTER_H
9#define ARCANE_CASEOPTION_AXLSTAR_ARCANE_ARCANEMESHCONVERTER_H
14#include "arcane/utils/String.h"
16#include "arcane/CaseOptions.h"
17#include "arcane/CaseOptionsMulti.h"
18#include "arcane/CaseOptionBuildInfo.h"
19#include "arcane/XmlNodeList.h"
30class CaseOptionsArcaneMeshConverter
45 "writer-service-name", _element(),
51 "file-name", _element(),
58writerServiceName.addAlternativeNodeName(
61fileName.addAlternativeNodeName(
64addAlternativeNodeName(
72 Arcane::String getWriterServiceName() {
return writerServiceName(); }
88 return m_case_options.get();
93 return m_case_options->configList();
98 m_case_options->setCaseModule(m);
103 m_case_options->setCaseServiceInfo(si);
109 m_case_options->addAlternativeNodeName(lang,name);
126 Arcane::CaseOptionString writerServiceName;
127 Arcane::CaseOptionString fileName;
149#ifndef ARCANE_MODULE_AXLSTAR_ARCANE_ARCANEMESHCONVERTER_H
150#define ARCANE_MODULE_AXLSTAR_ARCANE_ARCANEMESHCONVERTER_H
155#include "arcane/VariableTypes.h"
156#include "arcane/ServiceInfo.h"
157#include "arcane/ISubDomain.h"
158#include "arcane/ServiceBuildInfo.h"
159#include "arcane/ServiceFactory.h"
160#include "arcane/ServiceRegisterer.h"
161#include "arcane/BasicService.h"
163#ifndef ARCANE_HAS_SPECIFIC_BASIC_SERVICE
177ARCANE_BEGIN_NAMESPACE
182class CaseOptionsArcaneMeshConverter;
189 :
public Arcane::BasicCaseOptionService
196 si->setCaseOptionsFileName(
"ArcaneMeshConverter_arcane_std");
197 si->setAxlVersion(1.0);
198 si->setDefaultTagName(
"arcane-mesh-converter");
200 si->setTagName(
"convertisseur-maillage",
"fr");
210 :
Arcane::BasicCaseOptionService(sbi)
245 int file_version = 1;
253#define ARCANE_REGISTER_SERVICE_ARCANEMESHCONVERTER(service_name,class_name) \
254 ARCANE_REGISTER_AXL_SERVICE(class_name,Arcane::ServiceProperty(#service_name,Arcane::ST_CaseOption,\
#define ARCANE_SERVICE_INTERFACE(ainterface)
Macro to declare an interface when registering a service.
CaseOptionsArcaneMeshConverter * m_options
Options du jeu de données du service.
ArcaneArcaneMeshConverterObject(const Arcane::ServiceBuildInfo &sbi)
Constructeur.
static Arcane::FileContent getAxlContent()
Variables du service.
CaseOptionsArcaneMeshConverter * options() const
Options du jeu de données du service.
virtual ~ArcaneArcaneMeshConverterObject()
Destructeur.
Base class of a service linked to a subdomain.
Information for building a dataset option.
Description and content of a file.
Interface of a dataset function.
Interface for a data set options list.
Interface for a list of data set options.
Interface of a direct execution service.
Interface for service or module information.
Interface managing a standard function.
Information about a service.
Encapsulation of a pointer with a reference counter.
static void registerToServiceInfo(ServiceInfo *si, const Interfaces &... args)
Registers the factories for the Interfaces interfaces in the service.
ICaseOptions * caseOptions() const
Access to the associated ICaseOptions.
Structure containing the information to create a service.
View of an array of elements of type T.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
unsigned char Byte
Type of a byte.