12 #ifndef vtkExodusIIReaderParser_h
13 #define vtkExodusIIReaderParser_h
15 #include "vtkIOExodusModule.h"
24 VTK_ABI_NAMESPACE_BEGIN
53 return (this->BlockID_To_VertexID.find(
id) != this->BlockID_To_VertexID.end());
69 std::map<int, vtkIdType>::iterator iter;
70 for (iter = this->BlockID_To_VertexID.begin(); iter != this->BlockID_To_VertexID.end(); ++iter)
72 blockIdsSet.insert(iter->first);
81 void StartElement(
const char* tagName,
const char** attrs)
override;
83 void FinishedParsing();
85 const char*
GetValue(
const char* attr,
const char** attrs)
88 for (i = 0; attrs[i]; i += 2)
90 const char*
name = strrchr(attrs[i],
':');
99 if (strcmp(attr, name) == 0)
117 vtkIdType GetPartVertex(
const char* part_number_instance_string);
165 VTK_ABI_NAMESPACE_END
std::string BlockPartNumberString
std::map< vtkIdType, std::string > MaterialSpecifications
vtkSmartPointer< vtkStringArray > NamesArray
Parse XML to handle element tags and attributes.
vtkIdType MaterialsVertex
virtual void StartElement(const char *name, const char **atts)
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)
const char * GetValue(const char *attr, const char **attrs)
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
virtual void EndElement(const char *name)
vtkIdType AssembliesVertex
static vtkXMLParser * New()