VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkExodusIIReaderParser Class Reference

internal parser used by vtkExodusIIReader. More...

#include <vtkExodusIIReaderParser.h>

Inheritance diagram for vtkExodusIIReaderParser:
Inheritance graph
[legend]
Collaboration diagram for vtkExodusIIReaderParser:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkXMLParser Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkExodusIIReaderParserNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void Go (const char *filename)
bool HasInformationAboutBlock (int id)
std::string GetBlockName (int id)
virtual vtkMutableDirectedGraphGetSIL ()

Static Public Member Functions

static vtkExodusIIReaderParserNew ()
static int IsTypeOf (const char *type)
static vtkExodusIIReaderParserSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
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

std::map< int, vtkIdTypeBlockID_To_VertexID
std::map< int, std::string > BlockID_To_MaterialName
std::map< std::string, vtkIdTypeMaterialName_To_VertexID
std::map< vtkIdType, std::string > PartVertexID_To_Descriptions
std::map< vtkIdType, std::string > MaterialSpecifications
std::map< std::string, vtkIdTypePart_To_VertexID
std::map< int, std::string > BlockID_To_Part
vtkMutableDirectedGraphSIL
vtkSmartPointer< vtkStringArrayNamesArray
vtkSmartPointer
< vtkUnsignedCharArray
CrossEdgesArray
std::string BlockPartNumberString
vtkIdType RootVertex
vtkIdType BlocksVertex
vtkIdType AssembliesVertex
vtkIdType MaterialsVertex
std::vector< vtkIdTypeCurrentVertex
bool InBlocks
bool InMaterialAssignments
void GetBlockIds (std::set< int > &blockIdsSet)
 vtkExodusIIReaderParser ()
 ~vtkExodusIIReaderParser ()

Detailed Description

internal parser used by vtkExodusIIReader.

vtkExodusIIReaderParser is an internal XML parser used by vtkExodusIIReader. This is not for public use.

Definition at line 39 of file vtkExodusIIReaderParser.h.


Member Typedef Documentation

Reimplemented from vtkXMLParser.

Definition at line 43 of file vtkExodusIIReaderParser.h.


Constructor & Destructor Documentation

Fills up the blockIdsSet with the block ids referred to by the XML. This is valid only after Go().

Fills up the blockIdsSet with the block ids referred to by the XML. This is valid only after Go().


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

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.

Reimplemented from vtkXMLParser.

virtual vtkObjectBase* vtkExodusIIReaderParser::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkXMLParser.

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.

Returns the SIL. This is valid only after Go().

void vtkExodusIIReaderParser::Go ( const char *  filename)

Trigger parsing of the XML file.

Definition at line 56 of file vtkExodusIIReaderParser.h.

Given a block "id" return the name as determined from the xml. This is valid only after Go().

void vtkExodusIIReaderParser::GetBlockIds ( std::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 68 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.

const char* vtkExodusIIReaderParser::GetValue ( const char *  attr,
const char **  attrs 
) [inline, protected]

Definition at line 88 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}"


Member Data Documentation

Definition at line 122 of file vtkExodusIIReaderParser.h.

std::map<int, std::string> vtkExodusIIReaderParser::BlockID_To_MaterialName [protected]

Definition at line 126 of file vtkExodusIIReaderParser.h.

Definition at line 130 of file vtkExodusIIReaderParser.h.

Definition at line 132 of file vtkExodusIIReaderParser.h.

std::map<vtkIdType, std::string> vtkExodusIIReaderParser::MaterialSpecifications [protected]

Definition at line 138 of file vtkExodusIIReaderParser.h.

std::map<std::string, vtkIdType> vtkExodusIIReaderParser::Part_To_VertexID [protected]

Definition at line 142 of file vtkExodusIIReaderParser.h.

std::map<int, std::string> vtkExodusIIReaderParser::BlockID_To_Part [protected]

Definition at line 145 of file vtkExodusIIReaderParser.h.

Definition at line 147 of file vtkExodusIIReaderParser.h.

Definition at line 148 of file vtkExodusIIReaderParser.h.

Definition at line 149 of file vtkExodusIIReaderParser.h.

Definition at line 151 of file vtkExodusIIReaderParser.h.

Definition at line 153 of file vtkExodusIIReaderParser.h.

Definition at line 154 of file vtkExodusIIReaderParser.h.

Definition at line 155 of file vtkExodusIIReaderParser.h.

Definition at line 156 of file vtkExodusIIReaderParser.h.

Definition at line 157 of file vtkExodusIIReaderParser.h.

Definition at line 159 of file vtkExodusIIReaderParser.h.

Definition at line 160 of file vtkExodusIIReaderParser.h.


The documentation for this class was generated from the following file: