Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
IMeshWriter.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* IMeshWriter.h (C) 2000-2006 */
9/* */
10/* Interface d'un service d'écriture du maillage. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IMESHWRITER_H
13#define ARCANE_IMESHWRITER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/ArcaneTypes.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22ARCANE_BEGIN_NAMESPACE
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27class IMesh;
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
36{
37 public:
38
39 virtual ~IMeshWriter() {} //<! Libère les ressources
40
41 public:
42
44 virtual void build() =0;
45
46 public:
47
59 virtual bool writeMeshToFile(IMesh* mesh,const String& file_name) =0;
60};
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65ARCANE_END_NAMESPACE
66
67/*---------------------------------------------------------------------------*/
68/*---------------------------------------------------------------------------*/
69
70#endif
71
Interface d'un service d'écriture d'un maillage.
Definition IMeshWriter.h:36
virtual void build()=0
Construit l'instance.
virtual bool writeMeshToFile(IMesh *mesh, const String &file_name)=0
Ecrit un maillage sur un fichier.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Chaîne de caractères unicode.