12#ifndef ARCANE_CORE_ISIMPLETABLEINTERNALMNG_H
13#define ARCANE_CORE_ISIMPLETABLEINTERNALMNG_H
17#include "arcane/utils/Array.h"
18#include "arcane/utils/Array2.h"
20#include "arcane/core/SimpleTableInternal.h"
21#include "arcane/core/ISubDomain.h"
Declarations of types on entities.
Constant view of an array of type T.
Class interface representing a manager for SimpleTableInternal (aka STI).
virtual bool editElementRight(Real element, bool update_last_position=true)=0
Method allowing editing an element to the right of the last element recently manipulated (same row/co...
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 addElementsInRow(Integer position, ConstArrayView< Real > elements)=0
Method to add multiple elements to a row.
virtual Integer columnSize(Integer position)=0
Method allowing retrieval of the size of a column. Including hypothetical 'gaps' in the column.
virtual bool editElement(Real element)=0
Method allowing modification of an element in the table.
virtual RealUniqueArray column(Integer position)=0
Method allowing retrieval of a copy of a column.
virtual bool addColumns(StringConstArrayView columns_names)=0
Method to add multiple columns.
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 addAverageColumn(const String &column_name)=0
Method allowing creation of a column containing the average of elements of each row.
virtual Integer numberOfRows()=0
Method allowing retrieval of the number of rows in the table. This is, in a sense,...
virtual bool editElement(Integer position_x, Integer position_y, Real element)=0
Method allowing modification of an element in the table.
virtual bool editElementUp(Real element, bool update_last_position=true)=0
Method to edit an element above the last element most recently manipulated (row above/same column).
virtual bool editElementLeft(Real element, bool update_last_position=true)=0
Method to edit an element to the left of the last element most recently manipulated (same row/column ...
virtual Integer addColumn(const String &column_name)=0
Method to add a column.
virtual bool editColumnName(Integer position, const String &new_name)=0
Method allowing changing the name of a column.
virtual RealUniqueArray row(const String &row_name)=0
Method allowing retrieval of a copy of a row.
virtual bool addElementInRow(Integer position, Real element)=0
Method to add an element to a row.
virtual Integer rowPosition(const String &row_name)=0
Method allowing retrieval of the position of a row.
virtual Real element()=0
Method allowing retrieval of a copy of an element.
virtual Real elementRight(bool update_last_position=false)=0
Method allowing retrieval of an element to the right of the last element recently manipulated (same r...
virtual String columnName(Integer position)=0
Method allowing retrieval of the name of a column from its position.
virtual Real elementUp(bool update_last_position=false)=0
Method allowing retrieval of an element above the last element recently manipulated (row above/same c...
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 bool addElementsInSameRow(ConstArrayView< Real > elements)=0
Method to add multiple elements to the row most recently manipulated.
virtual bool editRowName(const String &row_name, const String &new_name)=0
Method allowing changing the name of a row.
virtual Integer rowSize(Integer position)=0
Method allowing retrieval of the size of a row. Including hypothetical 'gaps' in the row.
virtual Integer addRow(const String &row_name)=0
Method to add a row.
virtual RealUniqueArray row(Integer position)=0
Method allowing retrieval of a copy of a row.
virtual Real elementLeft(bool update_last_position=false)=0
Method allowing retrieval of an element to the left of the last element recently manipulated (same ro...
virtual String rowName(Integer position)=0
Method allowing retrieval of the name of a row from its position.
virtual bool addRows(StringConstArrayView rows_names)=0
Method to add multiple rows.
virtual Integer addRow(const String &row_name, ConstArrayView< Real > elements)=0
Method to add a row.
virtual Real elementDown(bool update_last_position=false)=0
Method allowing retrieval of an element below the last element recently manipulated (row below/same c...
virtual RealUniqueArray column(const String &column_name)=0
Method allowing retrieval of a copy of a column.
virtual bool addElementInSameColumn(Real element)=0
Method to add an element to the column most recently manipulated.
virtual bool editColumnName(const String &column_name, const String &new_name)=0
Method allowing changing the name of a column.
virtual void setInternal(const Ref< SimpleTableInternal > &simple_table_internal)=0
Method allowing setting a reference to a SimpleTableInternal.
virtual bool addElementInSameRow(Real element)=0
Method to add an element to the row most recently manipulated.
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 Integer numberOfColumns()=0
Method allowing retrieval of the number of columns in the table. This is, in a sense,...
virtual bool addElementsInSameColumn(ConstArrayView< Real > elements)=0
Method to add multiple elements to the column most recently manipulated.
virtual bool editRowName(Integer position, const String &new_name)=0
Method allowing changing the name of a row.
virtual Ref< SimpleTableInternal > internal()=0
Method allowing retrieval of a reference to the object SimpleTableInternal used.
virtual bool editElement(const String &column_name, const String &row_name, Real element)=0
Method allowing modification of an element in the table.
virtual bool addElementsInColumn(Integer position, ConstArrayView< Real > elements)=0
Method to add multiple elements to a column.
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 bool editElementDown(Real element, bool update_last_position=true)=0
Method to edit an element below the last element most recently manipulated (row below/same column).
virtual Integer columnPosition(const String &column_name)=0
Method allowing retrieval of the position of a column.
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 Integer addColumn(const String &column_name, ConstArrayView< Real > elements)=0
Method to add a column.
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 bool addElementInColumn(Integer position, Real element)=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 void clearInternal()=0
Method to clear the content of the SimpleTableInternal.
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.