MOAB: Mesh Oriented datABase  (version 5.2.1)
moab::WriterIface Class Reference

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.

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

virtual moab::WriterIface::~WriterIface ( ) [inline, virtual]

Definition at line 37 of file WriterIface.hpp.

{}

Member Function Documentation

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::WriteNCDF, moab::WriteNC, moab::WriteCGNS, moab::WriteCCMIO, moab::WriteDamsel, moab::WriteSLAC, moab::WriteTemplate, moab::WriteAns, moab::WriteHDF5, moab::WriteSTL, moab::WriteGmsh, moab::WriteGMV, moab::WriteVtk, and moab::WriteSmf.

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

List of all members.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines