23 #ifndef vtkExodusIIReaderParser_h 24 #define vtkExodusIIReaderParser_h 26 #include "vtkIOExodusModule.h" 58 void Go(
const char* filename);
64 return (this->BlockID_To_VertexID.find(
id) != this->BlockID_To_VertexID.end());
80 std::map<int, vtkIdType>::iterator iter;
81 for (iter = this->BlockID_To_VertexID.begin();
82 iter != this->BlockID_To_VertexID.end();
85 blockIdsSet.insert(iter->first);
94 void StartElement( const
char* tagName, const
char** attrs) VTK_OVERRIDE;
95 void EndElement(const
char* tagName) VTK_OVERRIDE;
96 void FinishedParsing();
98 const
char* GetValue(const
char* attr,const
char** attrs)
101 for (i=0;attrs[i];i+=2)
103 const char*
name=strrchr(attrs[i],
':');
112 if (strcmp(attr,
name)==0)
130 vtkIdType GetPartVertex(
const char* part_number_instance_string);
std::string BlockPartNumberString
std::map< vtkIdType, std::string > MaterialSpecifications
vtkSmartPointer< vtkStringArray > NamesArray
Parse XML to handle element tags and attributes.
vtkIdType MaterialsVertex
std::vector< vtkIdType > CurrentVertex
a vtkAbstractArray subclass for strings
std::map< int, vtkIdType > BlockID_To_VertexID
vtkSmartPointer< vtkUnsignedCharArray > CrossEdgesArray
vtkMutableDirectedGraph * SIL
std::map< vtkIdType, std::string > PartVertexID_To_Descriptions
std::map< int, std::string > BlockID_To_MaterialName
bool HasInformationAboutBlock(int id)
bool InMaterialAssignments
a simple class to control print indentation
std::map< std::string, vtkIdType > Part_To_VertexID
An editable directed graph.
dynamic, self-adjusting array of unsigned char
std::map< std::string, vtkIdType > MaterialName_To_VertexID
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
internal parser used by vtkExodusIIReader.
void GetBlockIds(std::set< int > &blockIdsSet)
Fills up the blockIdsSet with the block ids referred to by the XML.
std::map< int, std::string > BlockID_To_Part
vtkIdType AssembliesVertex
static vtkXMLParser * New()