Public Member Functions | |
| SimpleCsvOutputService (const ServiceBuildInfo &sbi) | |
| bool | init () override |
| Method to initialize the table. | |
| bool | init (const String &table_name) override |
| Method to initialize the table. | |
| bool | init (const String &table_name, const String &directory_name) override |
| Method to initialize the table. | |
| void | clear () override |
| Method to clear the tables. | |
| Integer | addRow (const String &row_name) override |
| Method to add a row. | |
| Integer | addRow (const String &row_name, ConstArrayView< Real > elements) override |
| Method to add a row. | |
| bool | addRows (StringConstArrayView rows_names) override |
| Method to add multiple rows. | |
| Integer | addColumn (const String &column_name) override |
| Method to add a column. | |
| Integer | addColumn (const String &column_name, ConstArrayView< Real > elements) override |
| Method to add a column. | |
| bool | addColumns (StringConstArrayView columns_names) override |
| Method to add multiple columns. | |
| bool | addElementInRow (Integer position, Real element) override |
| Method to add an element to a row. | |
| bool | addElementInRow (const String &row_name, Real element, bool create_if_not_exist) override |
| Method to add an element to a row. | |
| bool | addElementInSameRow (Real element) override |
| Method to add an element to the last manipulated row. | |
| bool | addElementsInRow (Integer position, ConstArrayView< Real > elements) override |
| Method to add multiple elements to a row. | |
| bool | addElementsInRow (const String &row_name, ConstArrayView< Real > elements, bool create_if_not_exist) override |
| Method to add multiple elements to a row. | |
| bool | addElementsInSameRow (ConstArrayView< Real > elements) override |
| Method to add multiple elements to the last manipulated row. | |
| bool | addElementInColumn (Integer position, Real element) override |
| Method to add an element to a column. | |
| bool | addElementInColumn (const String &column_name, Real element, bool create_if_not_exist) override |
| Method to add an element to a column. | |
| bool | addElementInSameColumn (Real element) override |
| Method to add an element to the last manipulated column. | |
| bool | addElementsInColumn (Integer position, ConstArrayView< Real > elements) override |
| Method to add multiple elements to a column. | |
| bool | addElementsInColumn (const String &column_name, ConstArrayView< Real > elements, bool create_if_not_exist) override |
| Method to add multiple elements to a column. | |
| bool | addElementsInSameColumn (ConstArrayView< Real > elements) override |
| Method to add multiple elements to the last manipulated column. | |
| bool | editElementUp (Real element, bool update_last_position) override |
| Method to edit an element above the last element manipulated (row above/same column). | |
| bool | editElementDown (Real element, bool update_last_position) override |
| Method to edit an element below the last element manipulated (row below/same column). | |
| bool | editElementLeft (Real element, bool update_last_position) override |
| Method to edit an element to the left of the last element manipulated (same row/column to the left). | |
| bool | editElementRight (Real element, bool update_last_position) override |
| Method to edit an element to the right of the last element manipulated (same row/column to the right). | |
| Real | elementUp (bool update_last_position) override |
| Method to retrieve an element above the last element manipulated (row above/same column). | |
| Real | elementDown (bool update_last_position) override |
| Method to retrieve an element below the last element manipulated (row below/same column). | |
| Real | elementLeft (bool update_last_position) override |
| Method to retrieve an element to the left of the last element manipulated (same row/column to the left). | |
| Real | elementRight (bool update_last_position) override |
| Method to retrieve an element to the right of the last element manipulated (same row/column to the right). | |
| bool | editElement (Real element) override |
| Method to modify an element in the table. | |
| bool | editElement (Integer position_x, Integer position_y, Real element) override |
| Method to modify an element in the table. | |
| bool | editElement (const String &column_name, const String &row_name, Real element) override |
| Method allowing modification of an element in the array. | |
| Real | element () override |
| Method allowing retrieval of a copy of an element. | |
| Real | element (Integer position_x, Integer position_y, bool update_last_position) override |
| Method allowing retrieval of a copy of an element. | |
| Real | element (const String &column_name, const String &row_name, bool update_last_position) override |
| Method allowing retrieval of a copy of an element. | |
| RealUniqueArray | row (Integer position) override |
| Method allowing retrieval of a copy of a row. | |
| RealUniqueArray | column (Integer position) override |
| Method allowing retrieval of a copy of a column. | |
| RealUniqueArray | row (const String &row_name) override |
| Method allowing retrieval of a copy of a row. | |
| RealUniqueArray | column (const String &column_name) override |
| Method allowing retrieval of a copy of a column. | |
| Integer | rowSize (Integer position) override |
| Method allowing retrieval of the size of a row. Including hypothetical 'gaps' in the row. | |
| Integer | columnSize (Integer position) override |
| Method allowing retrieval of the size of a column. Including hypothetical 'gaps' in the column. | |
| Integer | rowSize (const String &row_name) override |
| Method allowing retrieval of the size of a row. Including hypothetical 'gaps' in the row. | |
| Integer | columnSize (const String &column_name) override |
| Method allowing retrieval of the size of a column. Including hypothetical 'gaps' in the column. | |
| Integer | rowPosition (const String &row_name) override |
| Method allowing retrieval of the position of a row. | |
| Integer | columnPosition (const String &column_name) override |
| Method allowing retrieval of the position of a column. | |
| Integer | numberOfRows () override |
| Method allowing retrieval of the number of rows in the array. This is, in a way, the maximum number of elements a column can contain. | |
| Integer | numberOfColumns () override |
| Method allowing retrieval of the number of columns in the array. This is, in a way, the maximum number of elements a row can contain. | |
| String | rowName (Integer position) override |
| String | columnName (Integer position) override |
| bool | editRowName (Integer position, const String &new_name) override |
| Method allowing changing the name of a row. | |
| bool | editRowName (const String &row_name, const String &new_name) override |
| Method allowing changing the name of a row. | |
| bool | editColumnName (Integer position, const String &new_name) override |
| Method allowing changing the name of a column. | |
| bool | editColumnName (const String &column_name, const String &new_name) override |
| Method allowing changing the name of a column. | |
| Integer | addAverageColumn (const String &column_name) override |
| Method allowing creation of a column containing the average of the elements of each row. | |
| void | print (Integer rank) override |
| Method allowing display of the array. Method performing collective operations. | |
| bool | writeFile (Integer rank) override |
| Method allowing writing the array to a file. Method performing collective operations. If rank != -1, processes other than P0 return true. | |
| bool | writeFile (const Directory &root_directory, Integer rank) override |
| bool | writeFile (const String &directory, Integer rank) override |
| Method allowing writing the array to a file. Method performing collective operations. If rank != -1, processes other than P0 return true. | |
| Integer | precision () override |
| Method allowing retrieval of the precision currently used for writing values. | |
| void | setPrecision (Integer precision) override |
| Method allowing modification of the print precision. | |
| bool | isFixed () override |
| Method allowing knowledge of whether the 'std::fixed' flag is active or not for writing values. | |
| void | setFixed (bool fixed) override |
| Method allowing setting the 'std::fixed' flag or not. | |
| bool | isForcedToUseScientificNotation () override |
| Method allowing knowledge of whether the 'std::scientific' flag is active or not for writing values. | |
| void | setForcedToUseScientificNotation (bool use_scientific) override |
| Method allowing setting the 'std::scientific' flag or not. | |
| String | outputDirectory () override |
| Accessor allowing retrieval of the name of the directory where the arrays will be placed. | |
| void | setOutputDirectory (const String &directory) override |
| Accessor allowing definition of the directory in which the arrays will be saved. | |
| String | tableName () override |
| Accessor allowing retrieval of the name of the arrays. | |
| void | setTableName (const String &name) override |
| Accessor allowing definition of the array name. | |
| String | fileName () override |
| Accessor allowing retrieval of the file name. | |
| Directory | outputPath () override |
| Accessor allowing retrieval of the path where the arrays will be saved. | |
| Directory | rootPath () override |
| Accessor allowing retrieval of the path where the implementation saves these arrays. | |
| String | fileType () override |
| Method allowing knowledge of the service's file type. | |
| bool | isOneFileByRanksPermited () override |
| Method allowing knowledge of whether the parameters currently held by the implementation allow it to write one file per process. | |
| Ref< SimpleTableInternal > | internal () override |
| Method allowing retrieval of a reference to the SimpleTableInternal object used. | |
| Ref< ISimpleTableReaderWriter > | readerWriter () override |
| Method allowing retrieval of a reference to the ISimpleTableReaderWriter object used. | |
| Public Member Functions inherited from ArcaneSimpleCsvOutputObject | |
| ArcaneSimpleCsvOutputObject (const Arcane::ServiceBuildInfo &sbi) | |
| Constructeur. | |
| virtual | ~ArcaneSimpleCsvOutputObject () |
| Destructeur. | |
| CaseOptionsSimpleCsvOutput * | options () const |
| Options du jeu de données du service. | |
| Public Member Functions inherited from Arcane::BasicService | |
| ~BasicService () override | |
| Releases resources. | |
| virtual ISubDomain * | subDomain () |
| Public Member Functions inherited from Arcane::AbstractService | |
| ~AbstractService () override | |
| Destructor. | |
| virtual void | build () |
| Build-level construction of the service. | |
| IServiceInfo * | serviceInfo () const override |
| Access to service information. See IServiceInfo for details. | |
| IBase * | serviceParent () const override |
| Access to the base interface of main Arcane objects. | |
| IService * | serviceInterface () override |
| Returns the low-level IService interface of the service. | |
| Public Member Functions inherited from Arcane::TraceAccessor | |
| TraceAccessor (ITraceMng *m) | |
| Constructs an accessor via the trace manager m. | |
| TraceAccessor (const TraceAccessor &rhs) | |
| Copy constructor. | |
| TraceAccessor & | operator= (const TraceAccessor &rhs) |
| Copy assignment operator. | |
| virtual | ~TraceAccessor () |
| Frees resources. | |
| ITraceMng * | traceMng () const |
| Trace manager. | |
| TraceMessage | info () const |
| Flow for an information message. | |
| TraceMessage | pinfo () const |
| Flow for a parallel information message. | |
| TraceMessage | info (char category) const |
| Flow for an information message of a given category. | |
| TraceMessage | pinfo (char category) const |
| Flow for a parallel information message of a given category. | |
| TraceMessage | info (bool v) const |
| Flow for an information message. | |
| TraceMessage | warning () const |
| Flow for a warning message. | |
| TraceMessage | pwarning () const |
| TraceMessage | error () const |
| Flow for an error message. | |
| TraceMessage | perror () const |
| TraceMessage | log () const |
| Flow for a log message. | |
| TraceMessage | plog () const |
| Flow for a log message. | |
| TraceMessage | logdate () const |
| Flow for a log message preceded by the date. | |
| TraceMessage | fatal () const |
| Flow for a fatal error message. | |
| TraceMessage | pfatal () const |
| Flow for a parallel fatal error message. | |
| TraceMessageDbg | debug (Trace::eDebugLevel=Trace::Medium) const |
| Flow for a debug message. | |
| Trace::eDebugLevel | configDbgLevel () const |
| Debug level of the configuration file. | |
| TraceMessage | info (Int32 verbose_level) const |
| Flow for an information message of a given level. | |
| TraceMessage | linfo () const |
| Flow for an information message with the local information level of this instance. | |
| TraceMessage | linfo (Int32 relative_level) const |
| Flow for an information message with the local information level of this instance. | |
| void | fatalMessage (const StandaloneTraceMessage &o) const |
| Public Member Functions inherited from Arcane::IService | |
| virtual | ~IService () |
| Releases resources. | |
| Public Member Functions inherited from Arcane::MeshAccessor | |
| MeshAccessor (ISubDomain *sd) | |
| MeshAccessor (IMesh *mesh) | |
| MeshAccessor (const MeshHandle &mesh_handle) | |
| Integer | nbCell () const |
| Returns the number of cells in the mesh. | |
| Integer | nbFace () const |
| Returns the number of faces in the mesh. | |
| Integer | nbEdge () const |
| Returns the number of edges in the mesh. | |
| Integer | nbNode () const |
| Returns the number of nodes in the mesh. | |
| VariableNodeReal3 & | nodesCoordinates () const |
| Returns the coordinates of the mesh nodes. | |
| NodeGroup | allNodes () const |
| Returns the group containing all nodes. | |
| EdgeGroup | allEdges () const |
| Returns the group containing all edges. | |
| FaceGroup | allFaces () const |
| Returns the group containing all faces. | |
| CellGroup | allCells () const |
| Returns the group containing all cells. | |
| FaceGroup | outerFaces () const |
| Returns the group containing all boundary faces. | |
| NodeGroup | ownNodes () const |
| Returns the group containing all nodes specific to this domain. | |
| CellGroup | ownCells () const |
| Returns the group containing all cells specific to this domain. | |
| FaceGroup | ownFaces () const |
| Group containing all faces specific to this domain. | |
| EdgeGroup | ownEdges () const |
| Group containing all edges specific to this domain. | |
| IMesh * | mesh () const |
| const MeshHandle & | meshHandle () const |
| Public Member Functions inherited from Arcane::CommonVariables | |
| CommonVariables (IModule *c) | |
| Constructs the references of the common variables for the module c. | |
| CommonVariables (IVariableMng *variable_mng) | |
| Constructs the references of the common variables for the manager variable_mng. | |
| CommonVariables (ISubDomain *sd) | |
| Constructs the references of the common variables for the subdomain sd. | |
| virtual | ~CommonVariables () |
| Releases resources. | |
| Int32 | globalIteration () const |
| Current iteration number. | |
| Real | globalTime () const |
| Current time. | |
| Real | globalOldTime () const |
| Previous current time. | |
| Real | globalFinalTime () const |
| Final time of the simulation. | |
| Real | globalDeltaT () const |
| Current Delta T. | |
| Real | globalCPUTime () const |
| CPU time used (in seconds). | |
| Real | globalOldCPUTime () const |
| Previous CPU time used (in seconds). | |
| Real | globalElapsedTime () const |
| Clock time (elapsed) used (in seconds). | |
| Real | globalOldElapsedTime () const |
| Previous clock time (elapsed) used (in seconds). | |
Additional Inherited Members | |
| Static Public Member Functions inherited from ArcaneSimpleCsvOutputObject | |
| template<typename ServiceClassType> | |
| static void | fillServiceInfo (Arcane::ServiceInfo *si) |
| Public Attributes inherited from Arcane::CommonVariables | |
| VariableScalarInt32 | m_global_iteration |
| Current iteration. | |
| VariableScalarReal | m_global_time |
| Current time. | |
| VariableScalarReal | m_global_deltat |
| Global Delta T. | |
| VariableScalarReal | m_global_old_time |
| Time previous to the current time. | |
| VariableScalarReal | m_global_old_deltat |
| Delta T at the time previous to the global time. | |
| VariableScalarReal | m_global_final_time |
| Final time of the case. | |
| VariableScalarReal | m_global_old_cpu_time |
| Previous CPU time used (in seconds). | |
| VariableScalarReal | m_global_cpu_time |
| CPU time used (in seconds). | |
| VariableScalarReal | m_global_old_elapsed_time |
| Previous clock time used (in seconds). | |
| VariableScalarReal | m_global_elapsed_time |
| Clock time used (in seconds). | |
| Protected Member Functions inherited from Arcane::BasicService | |
| BasicService (const ServiceBuildInfo &) | |
| Protected Member Functions inherited from Arcane::AbstractService | |
| AbstractService (const ServiceBuildInfo &) | |
| Constructor from a ServiceBuildInfo. | |
| Protected Member Functions inherited from Arcane::TraceAccessor | |
| void | _setLocalVerboseLevel (Int32 v) |
| Int32 | _localVerboseLevel () const |
| Protected Member Functions inherited from Arcane::IService | |
| IService () | |
| Constructor. | |
Definition at line 37 of file SimpleCsvOutputService.h.
|
inlineexplicit |
Definition at line 42 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing creation of a column containing the average of the elements of each row.
| column_name | The name of the new column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 272 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add a column.
| column_name | The name of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 69 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add a column.
If the number of elements in 'elements' is greater than the number of rows, the addition still takes place (but the extra elements will not be added).
| column_name | The name of the column. |
| elements | The elements to add to the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 73 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add multiple columns.
| rows_names | The names of the columns. |
Implements Arcane::ISimpleTableOutput.
Definition at line 77 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add an element to a column.
| column_name | The name of the column. |
| element | The element to add. |
| create_if_not_exist | To determine whether the column should be created if it does not yet exist. |
Implements Arcane::ISimpleTableOutput.
Definition at line 109 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to add an element to a column.
| position | The position of the column. |
| element | The element to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 105 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to add an element to a row.
| row_name | The name of the row. |
| element | The element to add. |
| create_if_not_exist | To determine whether the row should be created if it does not yet exist. |
Implements Arcane::ISimpleTableOutput.
Definition at line 85 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to add an element to a row.
| position | The position of the row. |
| element | The element to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 81 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to add an element to the last manipulated column.
This method differs from 'editElementDown()' because here, an element is added to the end of the column, not necessarily after the last added element.
| element | The element to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 113 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to add an element to the last manipulated row.
This method differs from 'editElementRight()' because here, an element is added to the end of the row, not necessarily after the last added element.
| element | The element to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 89 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to add multiple elements to a column.
If the number of elements in 'elements' is greater than the number of available rows, the addition still takes place (but the extra elements will not be added) and a return false will be returned.
| column_name | The name of the column. |
| elements | The array of elements to add. |
| create_if_not_exist | To determine whether the column should be created if it does not yet exist. |
Implements Arcane::ISimpleTableOutput.
Definition at line 122 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add multiple elements to a column.
If the number of elements in 'elements' is greater than the number of available rows, the addition still takes place (but the extra elements will not be added) and a return false will be returned.
| position | The position of the column. |
| elements | The array of elements to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 118 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add multiple elements to a row.
If the number of elements in 'elements' is greater than the number of available columns, the addition still takes place (but the extra elements will not be added) and a return false will be returned.
| row_name | The name of the row. |
| elements | The array of elements to add. |
| create_if_not_exist | To determine whether the row should be created if it does not yet exist. |
Implements Arcane::ISimpleTableOutput.
Definition at line 97 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add multiple elements to a row.
If the number of elements in 'elements' is greater than the number of available columns, the addition still takes place (but the extra elements will not be added) and a return false will be returned.
| position | The position of the row. |
| elements | The array of elements to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 93 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add multiple elements to the last manipulated column.
If the number of elements in 'elements' is greater than the number of available rows, the addition still takes place (but the extra elements will not be added) and a return false will be returned.
Aside from the fact that we are manipulating an array here, this method differs from 'editElementDown()' because here, elements are added to the end of the column, not necessarily after the last added element.
| elements | The array of elements to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 126 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add multiple elements to the last manipulated row.
If the number of elements in 'elements' is greater than the number of available columns, the addition still takes place (but the extra elements will not be added) and a return false will be returned.
Aside from the fact that we are manipulating an array here, this method differs from 'editElementRight()' because here, elements are added to the end of the row, not necessarily after the last added element.
| elements | The array of elements to add. |
Implements Arcane::ISimpleTableOutput.
Definition at line 101 of file SimpleCsvOutputService.h.
Method to add a row.
| row_name | The name of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 57 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add a row.
If the number of elements in 'elements' is greater than the number of columns, the addition still takes place (but the extra elements will not be added).
| row_name | The name of the row. |
| elements | The elements to insert into the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 61 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to add multiple rows.
| rows_names | The names of the rows. |
Implements Arcane::ISimpleTableOutput.
Definition at line 65 of file SimpleCsvOutputService.h.
|
overridevirtual |
Method to clear the tables.
Implements Arcane::ISimpleTableOutput.
Definition at line 67 of file SimpleCsvOutputService.cc.
|
inlineoverridevirtual |
Method allowing retrieval of a copy of a column.
| column_name | The name of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 204 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of a copy of a column.
| position | The position of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 195 of file SimpleCsvOutputService.h.
Implements Arcane::ISimpleTableOutput.
Definition at line 249 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of the position of a column.
| row_name | The name of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 231 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of the size of a column. Including hypothetical 'gaps' in the column.
| position | The name of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 222 of file SimpleCsvOutputService.h.
Method allowing retrieval of the size of a column. Including hypothetical 'gaps' in the column.
| position | The position of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 213 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing changing the name of a column.
| column_name | The current name of the column. |
| new_name | The new name of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 267 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing changing the name of a column.
| position | The position of the column. |
| new_name | The new name of the column. |
Implements Arcane::ISimpleTableOutput.
Definition at line 263 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing modification of an element in the array.
| column_name | The name of the column where the element is located. |
| row_name | The name of the row where the element is located. |
| element | The replacement element. |
Implements Arcane::ISimpleTableOutput.
Definition at line 173 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to modify an element in the table.
| position_x | The position of the column to modify. |
| position_y | The position of the row to modify. |
| element | The replacement element. |
Implements Arcane::ISimpleTableOutput.
Definition at line 169 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to modify an element in the table.
The x and y positions correspond to the location of the last manipulated element.
This method is useful after using 'elemUDLR(true)' for example.
| element | The replacement element. |
Implements Arcane::ISimpleTableOutput.
Definition at line 165 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to edit an element below the last element manipulated (row below/same column).
The element being modified thus becomes the last modified element at the end of this method (if update_last_position = true).
This method differs from 'addElementInSameColumn()' because here, an element is added (or modified) below the last manipulated element, which is not necessarily at the end of the column.
| element | The element to modify. |
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 135 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to edit an element to the left of the last element manipulated (same row/column to the left).
The element being modified thus becomes the last modified element at the end of this method (if update_last_position = true).
| element | The element to modify. |
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 139 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to edit an element to the right of the last element manipulated (same row/column to the right).
The element being modified thus becomes the last modified element at the end of this method (if update_last_position = true).
This method differs from 'addElementInSameRow()' because here, an element is added (or modified) to the right of the last manipulated element, which is not necessarily at the end of the column.
| element | The element to modify. |
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 143 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method to edit an element above the last element manipulated (row above/same column).
The element being modified thus becomes the last modified element at the end of this method (if update_last_position = true).
| element | The element to modify. |
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 131 of file SimpleCsvOutputService.h.
References element().
|
inlineoverridevirtual |
Method allowing changing the name of a row.
| row_name | The current name of the row. |
| new_name | The new name of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 258 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing changing the name of a row.
| position | The position of the row. |
| new_name | The new name of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 254 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of a copy of an element.
The x and y positions correspond to the location of the last manipulated element.
Implements Arcane::ISimpleTableOutput.
Definition at line 178 of file SimpleCsvOutputService.h.
Referenced by addElementInColumn(), addElementInColumn(), addElementInRow(), addElementInRow(), addElementInSameColumn(), addElementInSameRow(), editElement(), editElement(), editElement(), editElementDown(), editElementLeft(), editElementRight(), and editElementUp().
|
inlineoverridevirtual |
Method allowing retrieval of a copy of an element.
| column_name | The name of the column where the element is located. |
| row_name | The name of the row where the element is located. |
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 186 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of a copy of an element.
| position_x | The position of the column where the element is located. |
| position_y | The position of the row where the element is located. |
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 182 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to retrieve an element below the last element manipulated (row below/same column).
The element retrieved thus becomes the last "modified" element at the end of this method (if update_last_position = true).
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 152 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to retrieve an element to the left of the last element manipulated (same row/column to the left).
The element retrieved thus becomes the last "modified" element at the end of this method (if update_last_position = true).
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 156 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to retrieve an element to the right of the last element manipulated (same row/column to the right).
The element retrieved thus becomes the last "modified" element at the end of this method (if update_last_position = true).
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 160 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method to retrieve an element above the last element manipulated (row above/same column).
The element retrieved thus becomes the last "modified" element at the end of this method (if update_last_position = true).
| update_last_position | Should the "last modified element" cursor be moved? |
Implements Arcane::ISimpleTableOutput.
Definition at line 148 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Accessor allowing retrieval of the file name.
May be different for each process (depending on the implementation).
Implements Arcane::ISimpleTableOutput.
Definition at line 326 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing knowledge of the service's file type.
Implements Arcane::ISimpleTableOutput.
Definition at line 340 of file SimpleCsvOutputService.h.
|
overridevirtual |
Method to initialize the table.
Implements Arcane::ISimpleTableOutput.
Definition at line 25 of file SimpleCsvOutputService.cc.
References init(), and ArcaneSimpleCsvOutputObject::options().
Referenced by init(), and init().
|
overridevirtual |
Method to initialize the table.
| table_name | The name of the table (and the output file). |
Implements Arcane::ISimpleTableOutput.
Definition at line 37 of file SimpleCsvOutputService.cc.
References init(), and ArcaneSimpleCsvOutputObject::options().
|
overridevirtual |
Method to initialize the table.
| table_name | The name of the table (and the output file). |
| directory_name | The name of the directory where the tables should be saved. |
Implements Arcane::ISimpleTableOutput.
Definition at line 49 of file SimpleCsvOutputService.cc.
References Arcane::makeRef().
|
inlineoverridevirtual |
Method allowing retrieval of a reference to the SimpleTableInternal object used.
Implements Arcane::ISimpleTableOutput.
Definition at line 350 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing knowledge of whether the 'std::fixed' flag is active or not for writing values.
Implements Arcane::ISimpleTableOutput.
Definition at line 297 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing knowledge of whether the 'std::scientific' flag is active or not for writing values.
Implements Arcane::ISimpleTableOutput.
Definition at line 300 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing knowledge of whether the parameters currently held by the implementation allow it to write one file per process.
Implements Arcane::ISimpleTableOutput.
Definition at line 345 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of the number of columns in the array. This is, in a way, the maximum number of elements a row can contain.
Implements Arcane::ISimpleTableOutput.
Definition at line 240 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of the number of rows in the array. This is, in a way, the maximum number of elements a column can contain.
Implements Arcane::ISimpleTableOutput.
Definition at line 236 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Accessor allowing retrieval of the name of the directory where the arrays will be placed.
May be different for each process (depending on the implementation).
Implements Arcane::ISimpleTableOutput.
Definition at line 309 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Accessor allowing retrieval of the path where the arrays will be saved.
Compared to rootPathOutput(), the return value may differ depending on the "directory" and the "name".
Implements Arcane::ISimpleTableOutput.
Definition at line 331 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of the precision currently used for writing values.
Implements Arcane::ISimpleTableOutput.
Definition at line 291 of file SimpleCsvOutputService.h.
Referenced by setPrecision().
|
inlineoverridevirtual |
Method allowing display of the array. Method performing collective operations.
| rank | The ID of the process that should display the array (-1 to signify "all processes"). |
Implements Arcane::ISimpleTableOutput.
Definition at line 277 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of a reference to the ISimpleTableReaderWriter object used.
Implements Arcane::ISimpleTableOutput.
Definition at line 351 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Accessor allowing retrieval of the path where the implementation saves these arrays.
Compared to pathOutput(), the return value does not depend on "directory" or "name".
Implements Arcane::ISimpleTableOutput.
Definition at line 335 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of a copy of a row.
| row_name | The name of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 200 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of a copy of a row.
| position | The position of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 191 of file SimpleCsvOutputService.h.
Implements Arcane::ISimpleTableOutput.
Definition at line 245 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing retrieval of the position of a row.
| row_name | The name of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 227 of file SimpleCsvOutputService.h.
Method allowing retrieval of the size of a row. Including hypothetical 'gaps' in the row.
| position | The name of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 218 of file SimpleCsvOutputService.h.
Method allowing retrieval of the size of a row. Including hypothetical 'gaps' in the row.
| position | The position of the row. |
Implements Arcane::ISimpleTableOutput.
Definition at line 209 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing setting the 'std::fixed' flag or not.
For both the 'print()' method and the 'writetable()' method.
This flag allows 'forcing' the number of digits after the comma to the desired precision. For example, if 'setPrecision(4)' is called, and 'setFixed(true)' is called, the print of '6.1' will yield '6.1000'.
| fixed | Whether the 'std::fixed' flag should be set or not. |
Implements Arcane::ISimpleTableOutput.
Definition at line 298 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing setting the 'std::scientific' flag or not.
For both the 'print()' method and the 'writetable()' method.
This flag allows 'forcing' the display of values in scientific notation.
| use_scientific | Whether the 'std::scientific' flag should be set or not. |
Implements Arcane::ISimpleTableOutput.
Definition at line 304 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Accessor allowing definition of the directory in which the arrays will be saved.
May be different for each process (depending on the implementation).
| directory | The directory. |
Implements Arcane::ISimpleTableOutput.
Definition at line 313 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Method allowing modification of the print precision.
For both the 'print()' method and the 'writeFile()' methods.
| precision | The new precision. |
Implements Arcane::ISimpleTableOutput.
Definition at line 292 of file SimpleCsvOutputService.h.
References precision().
|
inlineoverridevirtual |
Accessor allowing definition of the array name.
May be different for each process (depending on the implementation).
| name | The name. |
Implements Arcane::ISimpleTableOutput.
Definition at line 322 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Accessor allowing retrieval of the name of the arrays.
May be different for each process (depending on the implementation).
Implements Arcane::ISimpleTableOutput.
Definition at line 318 of file SimpleCsvOutputService.h.
|
inlineoverridevirtual |
Implements Arcane::ISimpleTableOutput.
Definition at line 285 of file SimpleCsvOutputService.h.
|
overridevirtual |
Method allowing writing the array to a file. Method performing collective operations. If rank != -1, processes other than P0 return true.
| directory | The directory where the file will be written. The final path will be "./[output_dir]/csv/[directory]/". |
| rank | The ID of the process that should write the array to a file (-1 to signify "all processes"). |
Implements Arcane::ISimpleTableOutput.
Definition at line 78 of file SimpleCsvOutputService.cc.
|
inlineoverridevirtual |
Method allowing writing the array to a file. Method performing collective operations. If rank != -1, processes other than P0 return true.
| rank | The ID of the process that should write the array to a file (-1 to signify "all processes"). |
Implements Arcane::ISimpleTableOutput.
Definition at line 281 of file SimpleCsvOutputService.h.
|
private |
Definition at line 361 of file SimpleCsvOutputService.h.
|
private |
Definition at line 364 of file SimpleCsvOutputService.h.
|
private |
Definition at line 362 of file SimpleCsvOutputService.h.
|
private |
Definition at line 358 of file SimpleCsvOutputService.h.
|
private |
Definition at line 359 of file SimpleCsvOutputService.h.
|
private |
Definition at line 365 of file SimpleCsvOutputService.h.