Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::WriterIface Class Referenceabstract

Interface for mesh writer implementations. More...

#include <WriterIface.hpp>

+ Inheritance diagram for moab::WriterIface:

Public Member Functions

virtual ~WriterIface ()
 
virtual ErrorCode write_file (const char *file_name, const bool overwrite, const FileOptions &opts, const EntityHandle *meshset_list, const int num_sets, const std::vector< std::string > &qa_records, const Tag *tag_list=NULL, int num_tags=0, int requested_output_dimension=3)=0
 Export mesh to a file. More...
 

Detailed Description

Interface for mesh writer implementations.

Version
1.00
Date
2004-4-23
Author
Jason Kraftcheck

Definition at line 34 of file WriterIface.hpp.

Constructor & Destructor Documentation

◆ ~WriterIface()

virtual moab::WriterIface::~WriterIface ( )
inlinevirtual

Definition at line 37 of file WriterIface.hpp.

37 {}

Member Function Documentation

◆ write_file()

virtual ErrorCode moab::WriterIface::write_file ( const char *  file_name,
const bool  overwrite,
const FileOptions opts,
const EntityHandle meshset_list,
const int  num_sets,
const std::vector< std::string > &  qa_records,
const Tag tag_list = NULL,
int  num_tags = 0,
int  requested_output_dimension = 3 
)
pure virtual

Export mesh to a file.

Method all writers must provide to export a mesh.

Parameters
file_nameThe name of the file to create.
overwriteIf false, reader should fail if the file already exists.
meshset_listA list of meshsets to export, or NULL if the whole mesh is to be exported.
num_setsThe length of meshset_list or zero if the whole mesh is to be exported.
qa_recordsFile history metadata
tag_listArray of handles for tags to write. If null, write all tags. If non-NULL but num_tags is zero, write no tags.
requseted_output_dimensionThe geometric dimension of the output mesh (coord values per vertex.) If zero, the dimension of the mesh as returned from Interface should be used.
Author
Jason Kraftcheck

Implemented in moab::WriteHDF5, moab::WriteGMV, moab::WriteDamsel, moab::WriteVtk, moab::WriteTemplate, moab::WriteSTL, moab::WriteSmf, moab::WriteSLAC, moab::WriteNC, moab::WriteGmsh, moab::WriteCGNS, moab::WriteCCMIO, moab::WriteAns, and moab::WriteNCDF.

Referenced by moab::Core::write_file().


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