#include <vtkExodusIIReaderParser.h>
vtkExodusIIReaderParser is an internal XML parser used by vtkExodusIIReader. This is not for public use.
Definition at line 38 of file vtkExodusIIReaderParser.h.
Public Types | |
typedef vtkXMLParser | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | Go (const char *filename) |
bool | HasInformationAboutBlock (int id) |
vtkstd::string | GetBlockName (int id) |
virtual vtkMutableDirectedGraph * | GetSIL () |
void | GetBlockIds (vtkstd::set< int > &blockIdsSet) |
Static Public Member Functions | |
static vtkExodusIIReaderParser * | New () |
static int | IsTypeOf (const char *type) |
static vtkExodusIIReaderParser * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkExodusIIReaderParser () | |
~vtkExodusIIReaderParser () | |
virtual void | StartElement (const char *tagName, const char **attrs) |
virtual void | EndElement (const char *tagName) |
void | FinishedParsing () |
const char * | GetValue (const char *attr, const char **attrs) |
vtkIdType | AddVertexToSIL (const char *name) |
vtkIdType | AddChildEdgeToSIL (vtkIdType src, vtkIdType dst) |
vtkIdType | AddCrossEdgeToSIL (vtkIdType src, vtkIdType dst) |
vtkIdType | GetPartVertex (const char *part_number_instance_string) |
Protected Attributes | |
vtkstd::map< int, vtkIdType > | BlockID_To_VertexID |
vtkstd::map< int, vtkstd::string > | BlockID_To_MaterialName |
vtkstd::map< vtkstd::string, vtkIdType > | MaterialName_To_VertexID |
vtkstd::map< vtkIdType, vtkstd::string > | PartVertexID_To_Descriptions |
vtkstd::map< vtkIdType, vtkstd::string > | MaterialSpecifications |
vtkstd::map< vtkstd::string, vtkIdType > | Part_To_VertexID |
vtkstd::map< int, vtkstd::string > | BlockID_To_Part |
vtkMutableDirectedGraph * | SIL |
vtkSmartPointer< vtkStringArray > | NamesArray |
vtkSmartPointer < vtkUnsignedCharArray > | CrossEdgesArray |
vtkstd::string | BlockPartNumberString |
vtkIdType | RootVertex |
vtkIdType | BlocksVertex |
vtkIdType | AssembliesVertex |
vtkIdType | MaterialsVertex |
vtkstd::vector< vtkIdType > | CurrentVertex |
bool | InBlocks |
bool | InMaterialAssignments |
vtkExodusIIReaderParser::vtkExodusIIReaderParser | ( | ) | [protected] |
vtkExodusIIReaderParser::~vtkExodusIIReaderParser | ( | ) | [protected] |
static vtkExodusIIReaderParser* vtkExodusIIReaderParser::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkXMLParser.
virtual const char* vtkExodusIIReaderParser::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkXMLParser.
static int vtkExodusIIReaderParser::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkXMLParser.
virtual int vtkExodusIIReaderParser::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkXMLParser.
static vtkExodusIIReaderParser* vtkExodusIIReaderParser::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkXMLParser.
void vtkExodusIIReaderParser::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkXMLParser.
virtual vtkMutableDirectedGraph* vtkExodusIIReaderParser::GetSIL | ( | ) | [virtual] |
Returns the SIL. This is valid only after Go().
void vtkExodusIIReaderParser::Go | ( | const char * | filename | ) |
Trigger parsing of the XML file.
bool vtkExodusIIReaderParser::HasInformationAboutBlock | ( | int | id | ) | [inline] |
Definition at line 55 of file vtkExodusIIReaderParser.h.
vtkstd::string vtkExodusIIReaderParser::GetBlockName | ( | int | id | ) |
Given a block "id" return the name as determined from the xml. This is valid only after Go().
void vtkExodusIIReaderParser::GetBlockIds | ( | vtkstd::set< int > & | blockIdsSet | ) | [inline] |
Fills up the blockIdsSet with the block ids referred to by the XML. This is valid only after Go().
Definition at line 67 of file vtkExodusIIReaderParser.h.
virtual void vtkExodusIIReaderParser::StartElement | ( | const char * | tagName, | |
const char ** | attrs | |||
) | [protected, virtual] |
Reimplemented from vtkXMLParser.
virtual void vtkExodusIIReaderParser::EndElement | ( | const char * | tagName | ) | [protected, virtual] |
Reimplemented from vtkXMLParser.
void vtkExodusIIReaderParser::FinishedParsing | ( | ) | [protected] |
const char* vtkExodusIIReaderParser::GetValue | ( | const char * | attr, | |
const char ** | attrs | |||
) | [inline, protected] |
Definition at line 87 of file vtkExodusIIReaderParser.h.
vtkIdType vtkExodusIIReaderParser::AddVertexToSIL | ( | const char * | name | ) | [protected] |
vtkIdType vtkExodusIIReaderParser::GetPartVertex | ( | const char * | part_number_instance_string | ) | [protected] |
Returns the vertex id for the "part" with given part_number_instance_string formed as "{part-number} Instance: {part-instance}"
vtkstd::map<int, vtkIdType> vtkExodusIIReaderParser::BlockID_To_VertexID [protected] |
Definition at line 121 of file vtkExodusIIReaderParser.h.
vtkstd::map<int, vtkstd::string> vtkExodusIIReaderParser::BlockID_To_MaterialName [protected] |
Definition at line 125 of file vtkExodusIIReaderParser.h.
vtkstd::map<vtkstd::string, vtkIdType> vtkExodusIIReaderParser::MaterialName_To_VertexID [protected] |
Definition at line 129 of file vtkExodusIIReaderParser.h.
vtkstd::map<vtkIdType, vtkstd::string> vtkExodusIIReaderParser::PartVertexID_To_Descriptions [protected] |
Definition at line 131 of file vtkExodusIIReaderParser.h.
vtkstd::map<vtkIdType, vtkstd::string> vtkExodusIIReaderParser::MaterialSpecifications [protected] |
Definition at line 137 of file vtkExodusIIReaderParser.h.
vtkstd::map<vtkstd::string, vtkIdType> vtkExodusIIReaderParser::Part_To_VertexID [protected] |
Definition at line 141 of file vtkExodusIIReaderParser.h.
vtkstd::map<int, vtkstd::string> vtkExodusIIReaderParser::BlockID_To_Part [protected] |
Definition at line 144 of file vtkExodusIIReaderParser.h.
vtkMutableDirectedGraph* vtkExodusIIReaderParser::SIL [protected] |
Definition at line 146 of file vtkExodusIIReaderParser.h.
Definition at line 147 of file vtkExodusIIReaderParser.h.
Definition at line 148 of file vtkExodusIIReaderParser.h.
vtkstd::string vtkExodusIIReaderParser::BlockPartNumberString [protected] |
Definition at line 150 of file vtkExodusIIReaderParser.h.
vtkIdType vtkExodusIIReaderParser::RootVertex [protected] |
Definition at line 152 of file vtkExodusIIReaderParser.h.
vtkIdType vtkExodusIIReaderParser::BlocksVertex [protected] |
Definition at line 153 of file vtkExodusIIReaderParser.h.
vtkIdType vtkExodusIIReaderParser::AssembliesVertex [protected] |
Definition at line 154 of file vtkExodusIIReaderParser.h.
vtkIdType vtkExodusIIReaderParser::MaterialsVertex [protected] |
Definition at line 155 of file vtkExodusIIReaderParser.h.
vtkstd::vector<vtkIdType> vtkExodusIIReaderParser::CurrentVertex [protected] |
Definition at line 156 of file vtkExodusIIReaderParser.h.
bool vtkExodusIIReaderParser::InBlocks [protected] |
Definition at line 158 of file vtkExodusIIReaderParser.h.
bool vtkExodusIIReaderParser::InMaterialAssignments [protected] |
Definition at line 159 of file vtkExodusIIReaderParser.h.