14#include "arcane/utils/ArcanePrecomp.h"
16#include "arcane/core/BasicService.h"
17#include "arcane/core/IMeshUtilities.h"
18#include "arcane/core/IDirectExecution.h"
20#include "arcane/core/ServiceBuilder.h"
22#include "arcane/std/ArcaneMeshConverter_axl.h"
36class ArcaneMeshConverter
49 bool isActive()
const override {
return true; }
56ArcaneMeshConverter(
const ServiceBuildInfo& sb)
57: ArcaneArcaneMeshConverterObject(sb)
68 if (file_name.
empty())
70 bool r =
mesh()->utilities()->writeToFile(file_name,
options()->writerServiceName());
#define ARCANE_FATAL(...)
Macro throwing a FatalErrorException.
ArcaneArcaneMeshConverterObject(const Arcane::ServiceBuildInfo &sbi)
Constructeur.
CaseOptionsArcaneMeshConverter * options() const
Options du jeu de données du service.
Mesh format conversion service.
void build() override
Build-level construction of the service.
void setParallelMng(IParallelMng *) override
Positions the associated parallelism manager. This method must be called before execute().
void execute() override
Executes the service operation.
bool isActive() const override
True if the service is active.
Interface of the parallelism manager for a subdomain.
Structure containing the information to create a service.
Unicode character string.
bool empty() const
True if the string is empty (null or "").
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --