12#ifndef ARCANE_CORE_ISIMPLETABLEOUTPUT_H
13#define ARCANE_CORE_ISIMPLETABLEOUTPUT_H
17#include "arcane/core/ISimpleTableInternalMng.h"
18#include "arcane/core/ISimpleTableWriterHelper.h"
Constant view of an array of type T.
Class managing a directory.
Interface representing a simple table output.
virtual bool addElementsInColumn(Integer position, ConstArrayView< Real > elements)=0
Method to add multiple elements to a column.
virtual bool addElementsInRow(Integer position, ConstArrayView< Real > elements)=0
Method to add multiple elements to a row.
virtual void setTableName(const String &name)=0
Accessor allowing definition of the array name.
virtual Real elementDown(bool update_last_position=false)=0
Method to retrieve an element below the last element manipulated (row below/same column).
virtual bool init(const String &table_name)=0
Method to initialize the table.
virtual bool editElementDown(Real element, bool update_last_position=true)=0
Method to edit an element below the last element manipulated (row below/same column).
virtual void setPrecision(Integer precision)=0
Method allowing modification of the print precision.
virtual bool addElementInRow(Integer position, Real element)=0
Method to add an element to a row.
virtual Ref< SimpleTableInternal > internal()=0
Method allowing retrieval of a reference to the SimpleTableInternal object used.
virtual String fileType()=0
Method allowing knowledge of the service's file type.
virtual bool init(const String &table_name, const String &directory_name)=0
Method to initialize the table.
virtual Integer rowSize(Integer position)=0
Method allowing retrieval of the size of a row. Including hypothetical 'gaps' in the row.
virtual String fileName()=0
Accessor allowing retrieval of the file name.
virtual bool addElementInColumn(const String &column_name, Real element, bool create_if_not_exist=true)=0
Method to add an element to a column.
virtual Integer columnSize(const String &column_name)=0
Method allowing retrieval of the size of a column. Including hypothetical 'gaps' in the column.
virtual Integer numberOfRows()=0
Method allowing retrieval of the number of rows in the array. This is, in a way, the maximum number o...
virtual bool editColumnName(Integer position, const String &new_name)=0
Method allowing changing the name of a column.
virtual bool addElementInColumn(Integer position, Real element)=0
Method to add an element to a column.
virtual bool editElementRight(Real element, bool update_last_position=true)=0
Method to edit an element to the right of the last element manipulated (same row/column to the right)...
virtual bool writeFile(Integer rank=-1)=0
Method allowing writing the array to a file. Method performing collective operations....
virtual void setOutputDirectory(const String &directory)=0
Accessor allowing definition of the directory in which the arrays will be saved.
virtual bool editElementUp(Real element, bool update_last_position=true)=0
Method to edit an element above the last element manipulated (row above/same column).
virtual RealUniqueArray column(Integer position)=0
Method allowing retrieval of a copy of a column.
virtual Integer rowPosition(const String &row_name)=0
Method allowing retrieval of the position of a row.
virtual bool addElementsInRow(const String &row_name, ConstArrayView< Real > elements, bool create_if_not_exist=true)=0
Method to add multiple elements to a row.
virtual String outputDirectory()=0
Accessor allowing retrieval of the name of the directory where the arrays will be placed.
virtual bool addElementInSameRow(Real element)=0
Method to add an element to the last manipulated row.
virtual Real elementRight(bool update_last_position=false)=0
Method to retrieve an element to the right of the last element manipulated (same row/column to the ri...
virtual Integer addRow(const String &row_name)=0
Method to add a row.
virtual Integer addColumn(const String &column_name)=0
Method to add a column.
virtual bool editColumnName(const String &column_name, const String &new_name)=0
Method allowing changing the name of a column.
virtual bool editElement(Integer position_x, Integer position_y, Real element)=0
Method to modify an element in the table.
virtual Real elementLeft(bool update_last_position=false)=0
Method to retrieve an element to the left of the last element manipulated (same row/column to the lef...
virtual bool addColumns(StringConstArrayView columns_names)=0
Method to add multiple columns.
virtual bool editRowName(const String &row_name, const String &new_name)=0
Method allowing changing the name of a row.
virtual RealUniqueArray row(const String &row_name)=0
Method allowing retrieval of a copy of a row.
virtual bool addElementInSameColumn(Real element)=0
Method to add an element to the last manipulated column.
virtual Integer addRow(const String &row_name, ConstArrayView< Real > elements)=0
Method to add a row.
virtual Ref< ISimpleTableReaderWriter > readerWriter()=0
Method allowing retrieval of a reference to the ISimpleTableReaderWriter object used.
virtual RealUniqueArray row(Integer position)=0
Method allowing retrieval of a copy of a row.
virtual Integer columnPosition(const String &column_name)=0
Method allowing retrieval of the position of a column.
virtual Integer precision()=0
Method allowing retrieval of the precision currently used for writing values.
virtual String tableName()=0
Accessor allowing retrieval of the name of the arrays.
virtual void print(Integer rank=0)=0
Method allowing display of the array. Method performing collective operations.
virtual Integer numberOfColumns()=0
Method allowing retrieval of the number of columns in the array. This is, in a way,...
virtual bool addElementsInSameRow(ConstArrayView< Real > elements)=0
Method to add multiple elements to the last manipulated row.
virtual RealUniqueArray column(const String &column_name)=0
Method allowing retrieval of a copy of a column.
virtual Integer addAverageColumn(const String &column_name)=0
Method allowing creation of a column containing the average of the elements of each row.
virtual Real elementUp(bool update_last_position=false)=0
Method to retrieve an element above the last element manipulated (row above/same column).
virtual bool isForcedToUseScientificNotation()=0
Method allowing knowledge of whether the 'std::scientific' flag is active or not for writing values.
virtual bool writeFile(const String &directory, Integer rank=-1)=0
Method allowing writing the array to a file. Method performing collective operations....
virtual bool addElementsInColumn(const String &column_name, ConstArrayView< Real > elements, bool create_if_not_exist=true)=0
Method to add multiple elements to a column.
virtual Real element(Integer position_x, Integer position_y, bool update_last_position=false)=0
Method allowing retrieval of a copy of an element.
virtual Real element(const String &column_name, const String &row_name, bool update_last_position=false)=0
Method allowing retrieval of a copy of an element.
virtual Real element()=0
Method allowing retrieval of a copy of an element.
virtual bool init()=0
Method to initialize the table.
virtual bool editElement(Real element)=0
Method to modify an element in the table.
virtual bool isFixed()=0
Method allowing knowledge of whether the 'std::fixed' flag is active or not for writing values.
virtual Integer rowSize(const String &row_name)=0
Method allowing retrieval of the size of a row. Including hypothetical 'gaps' in the row.
virtual bool addElementInRow(const String &row_name, Real element, bool create_if_not_exist=true)=0
Method to add an element to a row.
virtual void clear()=0
Method to clear the tables.
virtual void setFixed(bool fixed)=0
Method allowing setting the 'std::fixed' flag or not.
virtual bool addElementsInSameColumn(ConstArrayView< Real > elements)=0
Method to add multiple elements to the last manipulated column.
virtual bool addRows(StringConstArrayView rows_names)=0
Method to add multiple rows.
virtual bool editRowName(Integer position, const String &new_name)=0
Method allowing changing the name of a row.
virtual Directory rootPath()=0
Accessor allowing retrieval of the path where the implementation saves these arrays.
virtual bool isOneFileByRanksPermited()=0
Method allowing knowledge of whether the parameters currently held by the implementation allow it to ...
virtual Directory outputPath()=0
Accessor allowing retrieval of the path where the arrays will be saved.
virtual bool editElement(const String &column_name, const String &row_name, Real element)=0
Method allowing modification of an element in the array.
virtual Integer columnSize(Integer position)=0
Method allowing retrieval of the size of a column. Including hypothetical 'gaps' in the column.
virtual Integer addColumn(const String &column_name, ConstArrayView< Real > elements)=0
Method to add a column.
virtual void setForcedToUseScientificNotation(bool use_scientific)=0
Method allowing setting the 'std::scientific' flag or not.
virtual bool editElementLeft(Real element, bool update_last_position=true)=0
Method to edit an element to the left of the last element manipulated (same row/column to the left).
Reference to an instance.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
ConstArrayView< String > StringConstArrayView
C equivalent of a 1D array of strings.
Int32 Integer
Type representing an integer.
UniqueArray< Real > RealUniqueArray
Dynamic 1D array of reals.
double Real
Type representing a real number.