22 #ifndef __vtkExodusIIReaderParser_h
23 #define __vtkExodusIIReaderParser_h
25 #include "vtkIOExodusModule.h"
29 #include <vtksys/ios/sstream>
52 void Go(
const char* filename);
56 bool HasInformationAboutBlock(
int id)
58 return (this->BlockID_To_VertexID.find(
id) != this->BlockID_To_VertexID.end());
68 void GetBlockIds(std::set<int>& blockIdsSet)
70 std::map<int, vtkIdType>::iterator iter;
71 for (iter = this->BlockID_To_VertexID.begin();
72 iter != this->BlockID_To_VertexID.end();
75 blockIdsSet.insert(iter->first);
84 virtual void StartElement(
const char* tagName,
const char** attrs);
86 void FinishedParsing();
88 const char* GetValue(
const char* attr,
const char** attrs)
91 for (i=0;attrs[i];i+=2)
93 const char*
name=strrchr(attrs[i],
':');
102 if (strcmp(attr,name)==0)
118 vtkIdType GetPartVertex(
const char* part_number_instance_string);