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;
148#ifndef ARCANE_SERVICE_AXLSTAR_ARCANE_ARCANEMESHCONVERTER_H
149#define ARCANE_SERVICE_AXLSTAR_ARCANE_ARCANEMESHCONVERTER_H
153#include "arcane/core/VariableTypes.h"
154#include "arcane/core/ServiceInfo.h"
155#include "arcane/core/ISubDomain.h"
156#include "arcane/core/ServiceBuildInfo.h"
158#include "arcane/core/ServiceRegisterer.h"
159#include "arcane/core/BasicService.h"
161#ifndef ARCANE_HAS_SPECIFIC_BASIC_SERVICE
175ARCANE_BEGIN_NAMESPACE
180class CaseOptionsArcaneMeshConverter;
187 :
public Arcane::BasicCaseOptionService
194 si->setCaseOptionsFileName(
"ArcaneMeshConverter_arcane_std");
195 si->setAxlVersion(1.0);
196 si->setDefaultTagName(
"arcane-mesh-converter");
198 si->setTagName(
"convertisseur-maillage",
"fr");
208 :
Arcane::BasicCaseOptionService(sbi)
243 int file_version = 1;
251#define ARCANE_REGISTER_SERVICE_ARCANEMESHCONVERTER(service_name,class_name) \
252 ARCANE_REGISTER_AXL_SERVICE(class_name,Arcane::ServiceProperty(#service_name,Arcane::ST_CaseOption,\
This file contains the various service factories and macros for registering services.
#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.