This is a subclass of vtkXMLParser that constructs a representation of parsed XML using vtkPVXMLElement.
More...
#include <vtkPVXMLParser.h>
Inherits vtkXMLParser.
This is a subclass of vtkXMLParser that constructs a representation of parsed XML using vtkPVXMLElement.
Definition at line 31 of file vtkPVXMLParser.h.
◆ Superclass
◆ vtkPVXMLParser()
vtkPVXMLParser::vtkPVXMLParser |
( |
| ) |
|
|
protected |
◆ ~vtkPVXMLParser()
vtkPVXMLParser::~vtkPVXMLParser |
( |
| ) |
|
|
protected |
◆ GetClassName()
virtual const char* vtkPVXMLParser::GetClassName |
( |
| ) |
|
|
virtual |
◆ IsTypeOf()
static int vtkPVXMLParser::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ IsA()
virtual int vtkPVXMLParser::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ SafeDownCast()
◆ PrintSelf()
void vtkPVXMLParser::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
◆ New()
◆ PrintXML()
void vtkPVXMLParser::PrintXML |
( |
ostream & |
os | ) |
|
Write the parsed XML into the output stream.
◆ GetRootElement()
Get the root element from the XML document.
◆ SetFileName()
virtual void vtkPVXMLParser::SetFileName |
( |
const char * |
| ) |
|
|
virtual |
Get/Set the file from which to read the configuration.
◆ GetFileName()
virtual char* vtkPVXMLParser::GetFileName |
( |
| ) |
|
|
virtual |
Get/Set the file from which to read the configuration.
◆ GetSuppressErrorMessages()
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.
◆ SetSuppressErrorMessages()
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.
◆ SuppressErrorMessagesOn()
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.
◆ SuppressErrorMessagesOff()
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.
◆ ParseXML() [1/2]
static vtkSmartPointer<vtkPVXMLElement> vtkPVXMLParser::ParseXML |
( |
const char * |
xmlcontents, |
|
|
bool |
suppress_errors = false |
|
) |
| |
|
static |
Convenience method to parse XML contents.
Will return NULL is the xmlcontents cannot be parsed.
◆ StartElement()
void vtkPVXMLParser::StartElement |
( |
const char * |
name, |
|
|
const char ** |
atts |
|
) |
| |
|
protected |
◆ EndElement()
void vtkPVXMLParser::EndElement |
( |
const char * |
name | ) |
|
|
protected |
◆ CharacterDataHandler()
void vtkPVXMLParser::CharacterDataHandler |
( |
const char * |
data, |
|
|
int |
length |
|
) |
| |
|
protected |
◆ AddElement()
◆ PushOpenElement()
◆ PopOpenElement()
◆ ParseXML() [2/2]
virtual int vtkPVXMLParser::ParseXML |
( |
| ) |
|
|
protectedvirtual |
◆ ReportXmlParseError()
virtual void vtkPVXMLParser::ReportXmlParseError |
( |
| ) |
|
|
protectedvirtual |
◆ SuppressErrorMessages
int vtkPVXMLParser::SuppressErrorMessages |
|
protected |
◆ RootElement
◆ OpenElements
◆ NumberOfOpenElements
unsigned int vtkPVXMLParser::NumberOfOpenElements |
|
protected |
◆ OpenElementsSize
unsigned int vtkPVXMLParser::OpenElementsSize |
|
protected |
◆ ElementIdIndex
unsigned int vtkPVXMLParser::ElementIdIndex |
|
protected |
The documentation for this class was generated from the following file: