moab
|
00001 00018 #ifndef READ_TXT_HPP 00019 #define READ_TXT_HPP 00020 00021 #include "moab/Forward.hpp" 00022 #include "moab/ReaderIface.hpp" 00023 #include "moab/Range.hpp" 00024 00025 namespace moab { 00026 00027 class ReadUtilIface; 00028 00029 class ReadTxt : public ReaderIface 00030 { 00031 00032 public: 00033 00035 static ReaderIface* factory( Interface* ); 00036 00037 ErrorCode load_file( const char* file_name, 00038 const EntityHandle* file_set, 00039 const FileOptions& opts, 00040 const SubsetList* subset_list = 0, 00041 const Tag* file_id_tag = 0 ); 00042 00044 ReadTxt(Interface* impl = NULL); 00045 00047 virtual ~ReadTxt(); 00048 00049 ErrorCode read_tag_values( const char* file_name, 00050 const char* tag_name, 00051 const FileOptions& opts, 00052 std::vector<int>& tag_values_out, 00053 const SubsetList* subset_list = 0 ); 00054 00055 private: 00056 00057 ReadUtilIface* readMeshIface; 00058 00060 Interface* mdbImpl; 00061 00062 }; 00063 00064 } // namespace moab 00065 00066 #endif