moab
ReadTxt.cpp
Go to the documentation of this file.
00001 
00025 #include "ReadTxt.hpp"
00026 #include "FileTokenizer.hpp" // for file tokenizer
00027 #include "Internals.hpp"
00028 #include "moab/Interface.hpp"
00029 #include "moab/ReadUtilIface.hpp"
00030 #include "moab/Range.hpp"
00031 #include "MBTagConventions.hpp"
00032 #include "MBParallelConventions.h"
00033 #include "moab/CN.hpp"
00034 
00035 #include <errno.h>
00036 #include <string.h>
00037 #include <map>
00038 #include <set>
00039 
00040 namespace moab {
00041 
00042 ReaderIface* ReadTxt::factory( Interface* iface )
00043   { return new ReadTxt(iface); }
00044 
00045 ReadTxt::ReadTxt(Interface* impl)
00046     : mdbImpl(impl)
00047 {
00048   mdbImpl->query_interface(readMeshIface);
00049 }
00050 
00051 ReadTxt::~ReadTxt()
00052 {
00053   if (readMeshIface) {
00054     mdbImpl->release_interface(readMeshIface);
00055     readMeshIface = 0;
00056   }
00057 }
00058 
00059 ErrorCode ReadTxt::load_file( const char* , 
00060                                const EntityHandle*,
00061                                const FileOptions& ,
00062                                const ReaderIface::SubsetList* ,
00063                                const Tag* )
00064 {
00065   return MB_NOT_IMPLEMENTED;
00066 }
00067 
00068 ErrorCode ReadTxt::read_tag_values( const char* /* file_name */,
00069                                      const char* /* tag_name */,
00070                                      const FileOptions& /* opts */,
00071                                      std::vector<int>& /* tag_values_out */,
00072                                      const SubsetList* /* subset_list */ )
00073 {
00074   return MB_NOT_IMPLEMENTED;
00075 }
00076 
00077 
00078 } // namespace moab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines