moab
|
00001 00017 #ifndef WRITE_GMSH_HPP 00018 #define WRITE_GMSH_HPP 00019 00020 #include "moab/Forward.hpp" 00021 #include "moab/WriterIface.hpp" 00022 #include <stdio.h> 00023 00024 namespace moab { 00025 00026 class WriteUtilIface; 00027 00040 class WriteGmsh : public WriterIface 00041 { 00042 00043 public: 00044 00046 static WriterIface* factory( Interface* ); 00047 00049 WriteGmsh(Interface *impl); 00050 00052 virtual ~WriteGmsh(); 00053 00055 ErrorCode write_file(const char *file_name, 00056 const bool overwrite, 00057 const FileOptions& opts, 00058 const EntityHandle *output_list, 00059 const int num_sets, 00060 const std::vector<std::string>& qa_list, 00061 const Tag* tag_list = NULL, 00062 int num_tags = 0, 00063 int export_dimension = 3); 00064 00065 private: 00066 00068 Interface *mbImpl; 00069 WriteUtilIface* mWriteIface; 00070 00071 }; 00072 00073 } // namespace moab 00074 00075 #endif