ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPVXMLParser Class Reference

#include <vtkPVXMLParser.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void PrintXML (ostream &os)
vtkPVXMLElementGetRootElement ()
virtual void SetFileName (const char *)
virtual char * GetFileName ()
virtual int GetSuppressErrorMessages ()
virtual void SetSuppressErrorMessages (int)
virtual void SuppressErrorMessagesOn ()
virtual void SuppressErrorMessagesOff ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkPVXMLParserSafeDownCast (vtkObject *o)
static vtkPVXMLParserNew ()

Protected Member Functions

 vtkPVXMLParser ()
 ~vtkPVXMLParser ()
void StartElement (const char *name, const char **atts)
void EndElement (const char *name)
void CharacterDataHandler (const char *data, int length)
void AddElement (vtkPVXMLElement *element)
void PushOpenElement (vtkPVXMLElement *element)
vtkPVXMLElementPopOpenElement ()
virtual int ParseXML ()
virtual void ReportXmlParseError ()

Protected Attributes

int SuppressErrorMessages
vtkPVXMLElementRootElement
vtkPVXMLElement ** OpenElements
unsigned int NumberOfOpenElements
unsigned int OpenElementsSize
unsigned int ElementIdIndex

Detailed Description

This is a subclass of vtkXMLParser that constructs a representation of parsed XML using vtkPVXMLElement.

Definition at line 28 of file vtkPVXMLParser.h.


Constructor & Destructor Documentation

vtkPVXMLParser::vtkPVXMLParser ( ) [protected]
vtkPVXMLParser::~vtkPVXMLParser ( ) [protected]

Member Function Documentation

virtual const char* vtkPVXMLParser::GetClassName ( ) [virtual]

Reimplemented from vtkXMLParser.

static int vtkPVXMLParser::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkXMLParser.

virtual int vtkPVXMLParser::IsA ( const char *  type) [virtual]

Reimplemented from vtkXMLParser.

static vtkPVXMLParser* vtkPVXMLParser::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkXMLParser.

void vtkPVXMLParser::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkXMLParser.

static vtkPVXMLParser* vtkPVXMLParser::New ( ) [static]

Reimplemented from vtkXMLParser.

void vtkPVXMLParser::PrintXML ( ostream &  os)

Write the parsed XML into the output stream.

vtkPVXMLElement* vtkPVXMLParser::GetRootElement ( )

Get the root element from the XML document.

virtual void vtkPVXMLParser::SetFileName ( const char *  ) [virtual]

Get/Set the file from which to read the configuration.

Reimplemented from vtkXMLParser.

virtual char* vtkPVXMLParser::GetFileName ( ) [virtual]

Get/Set the file from which to read the configuration.

Reimplemented from vtkXMLParser.

virtual int vtkPVXMLParser::GetSuppressErrorMessages ( ) [virtual]

If on, then the Parse method will NOT report an error using vtkErrorMacro. Rather, it will just return false. This feature is useful when simply checking to see if a file is a valid XML file or there is otherwise a way to recover from the failed parse. This flag is off by default.

virtual void vtkPVXMLParser::SetSuppressErrorMessages ( int  ) [virtual]

If on, then the Parse method will NOT report an error using vtkErrorMacro. Rather, it will just return false. This feature is useful when simply checking to see if a file is a valid XML file or there is otherwise a way to recover from the failed parse. This flag is off by default.

virtual void vtkPVXMLParser::SuppressErrorMessagesOn ( ) [virtual]

If on, then the Parse method will NOT report an error using vtkErrorMacro. Rather, it will just return false. This feature is useful when simply checking to see if a file is a valid XML file or there is otherwise a way to recover from the failed parse. This flag is off by default.

virtual void vtkPVXMLParser::SuppressErrorMessagesOff ( ) [virtual]

If on, then the Parse method will NOT report an error using vtkErrorMacro. Rather, it will just return false. This feature is useful when simply checking to see if a file is a valid XML file or there is otherwise a way to recover from the failed parse. This flag is off by default.

void vtkPVXMLParser::StartElement ( const char *  name,
const char **  atts 
) [protected, virtual]

Reimplemented from vtkXMLParser.

void vtkPVXMLParser::EndElement ( const char *  name) [protected, virtual]

Reimplemented from vtkXMLParser.

void vtkPVXMLParser::CharacterDataHandler ( const char *  data,
int  length 
) [protected, virtual]

Reimplemented from vtkXMLParser.

void vtkPVXMLParser::AddElement ( vtkPVXMLElement element) [protected]
void vtkPVXMLParser::PushOpenElement ( vtkPVXMLElement element) [protected]
vtkPVXMLElement* vtkPVXMLParser::PopOpenElement ( ) [protected]
virtual int vtkPVXMLParser::ParseXML ( ) [protected, virtual]

Reimplemented from vtkXMLParser.

virtual void vtkPVXMLParser::ReportXmlParseError ( ) [protected, virtual]

Reimplemented from vtkXMLParser.


Member Data Documentation

Definition at line 62 of file vtkPVXMLParser.h.

Definition at line 73 of file vtkPVXMLParser.h.

Definition at line 76 of file vtkPVXMLParser.h.

Definition at line 77 of file vtkPVXMLParser.h.

unsigned int vtkPVXMLParser::OpenElementsSize [protected]

Definition at line 78 of file vtkPVXMLParser.h.

unsigned int vtkPVXMLParser::ElementIdIndex [protected]

Definition at line 81 of file vtkPVXMLParser.h.


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