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

Interface of a mesh writing service. More...

#include <arcane/core/IMeshWriter.h>

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

◆ 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.

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