Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IMeshWriter Class Referenceabstract

Interface of a mesh writing service. More...

#include <arcane/core/IMeshWriter.h>

Inheritance diagram for Arcane::IMeshWriter:
Collaboration diagram for Arcane::IMeshWriter:

Public Member Functions

virtual void build ()=0
 Constructs the instance.
virtual bool writeMeshToFile (IMesh *mesh, const String &file_name)=0
 Writes a mesh to a file.

Detailed Description

Interface of a mesh writing service.

Definition at line 37 of file IMeshWriter.h.

Constructor & Destructor Documentation

◆ ~IMeshWriter()

virtual Arcane::IMeshWriter::~IMeshWriter ( )
inlinevirtual

Definition at line 41 of file IMeshWriter.h.

Member Function Documentation

◆ build()

virtual void Arcane::IMeshWriter::build ( )
pure virtual

◆ writeMeshToFile()

virtual bool Arcane::IMeshWriter::writeMeshToFile ( IMesh * mesh,
const String & file_name )
pure virtual

Writes a mesh to a file.

The mesh file path must be writable and the directory must already exist.

Parameters
meshmesh to save
file_namename of the mesh file.
Return values
truein case of error
falseif everything is ok.

Implemented in Arcane::LimaMeshWriter, Arcane::MshMeshWriterService, Arcane::VtkLegacyMeshWriter, Arcane::VtuMeshWriter, and Arcane::XmfMeshWriter.

Referenced by Arcane::LegacyMeshBuilder::_readMesh().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: