14#include "arcane/std/SimpleCsvOutputService.h"
28 if (m_with_option &&
options()->getTableName() !=
"") {
31 return init(
"Table_P@proc_id@");
43 return init(table_name,
"");
52 if (!m_is_already_init) {
53 m_is_already_init =
true;
58 m_simple_table_internal_mng.setInternal(m_internal);
59 m_simple_table_output_mng.setReaderWriter(m_simple_csv_reader_writer);
61 return m_simple_table_output_mng.init(subDomain()->exportDirectory(), table_name, directory_name);
70 if (m_is_already_init) {
71 m_simple_table_internal_mng.clearInternal();
81 m_simple_table_output_mng.setOutputDirectory(directory);
82 return m_simple_table_output_mng.writeFile(rank);
#define ARCANE_SERVICE_INTERFACE(ainterface)
Macro to declare an interface when registering a service.
CaseOptionsSimpleCsvOutput * options() const
Options du jeu de données du service.
Interface representing a simple table output.
Service creation properties.
void clear() override
Method to clear the tables.
bool writeFile(Integer rank) override
Method allowing writing the array to a file. Method performing collective operations....
bool init() override
Method to initialize the table.
Unicode character string.
#define ARCANE_REGISTER_SERVICE(aclass, a_service_property,...)
Macro for registering a service.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
@ ST_SubDomain
The service is used at the subdomain level.
auto makeRef(InstanceType *t) -> Ref< InstanceType >
Creates a reference on a pointer.
Structure representing a simple table.