vtkExodusIIReaderParser Class Reference

#include <vtkExodusIIReaderParser.h>

Inheritance diagram for vtkExodusIIReaderParser:

Inheritance graph
[legend]
Collaboration diagram for vtkExodusIIReaderParser:

Collaboration graph
[legend]

List of all members.


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 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 vtkMutableDirectedGraphGetSIL ()
void GetBlockIds (vtkstd::set< int > &blockIdsSet)

Static Public Member Functions

static vtkExodusIIReaderParserNew ()
static int IsTypeOf (const char *type)
static vtkExodusIIReaderParserSafeDownCast (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, vtkIdTypeBlockID_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
vtkMutableDirectedGraphSIL
vtkSmartPointer< vtkStringArrayNamesArray
vtkSmartPointer
< vtkUnsignedCharArray
CrossEdgesArray
vtkstd::string BlockPartNumberString
vtkIdType RootVertex
vtkIdType BlocksVertex
vtkIdType AssembliesVertex
vtkIdType MaterialsVertex
vtkstd::vector< vtkIdTypeCurrentVertex
bool InBlocks
bool InMaterialAssignments

Member Typedef Documentation

Reimplemented from vtkXMLParser.

Definition at line 42 of file vtkExodusIIReaderParser.h.


Constructor & Destructor Documentation

vtkExodusIIReaderParser::vtkExodusIIReaderParser (  )  [protected]

vtkExodusIIReaderParser::~vtkExodusIIReaderParser (  )  [protected]


Member Function Documentation

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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::AddChildEdgeToSIL ( vtkIdType  src,
vtkIdType  dst 
) [protected]

vtkIdType vtkExodusIIReaderParser::AddCrossEdgeToSIL ( vtkIdType  src,
vtkIdType  dst 
) [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 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.

Definition at line 146 of file vtkExodusIIReaderParser.h.

Definition at line 147 of file vtkExodusIIReaderParser.h.

Definition at line 148 of file vtkExodusIIReaderParser.h.

Definition at line 150 of file vtkExodusIIReaderParser.h.

Definition at line 152 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 158 of file vtkExodusIIReaderParser.h.

Definition at line 159 of file vtkExodusIIReaderParser.h.


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

Generated on Wed Jun 3 19:01:37 2009 for VTK by  doxygen 1.5.6