#include <vtkXMLFileReadTester.h>
Inheritance diagram for vtkXMLFileReadTester:
vtkXMLFileReadTester reads the smallest part of a file necessary to determine whether it is a VTK XML file. If so, it extracts the file type and version number.
Definition at line 38 of file vtkXMLFileReadTester.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) |
int | TestReadFile () |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
virtual char * | GetFileDataType () |
virtual char * | GetFileVersion () |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkXMLFileReadTester * | SafeDownCast (vtkObject *o) |
vtkXMLFileReadTester * | New () |
Protected Member Functions | |
vtkXMLFileReadTester () | |
~vtkXMLFileReadTester () | |
void | StartElement (const char *name, const char **atts) |
int | ParsingComplete () |
void | ReportStrayAttribute (const char *, const char *, const char *) |
void | ReportMissingAttribute (const char *, const char *) |
void | ReportBadAttribute (const char *, const char *, const char *) |
void | ReportUnknownElement (const char *) |
void | ReportXmlParseError () |
virtual void | SetFileDataType (const char *) |
virtual void | SetFileVersion (const char *) |
Protected Attributes | |
char * | FileName |
char * | FileDataType |
char * | FileVersion |
int | Done |
|
Reimplemented from vtkXMLParser. Definition at line 41 of file vtkXMLFileReadTester.h. |
|
|
|
|
|
Reimplemented from vtkXMLParser. |
|
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. |
|
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. |
|
Reimplemented from vtkXMLParser. |
|
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. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkXMLParser. |
|
Try to read the file given by FileName. Returns 1 if the file is a VTK XML file, and 0 otherwise. |
|
Get/Set the name of the file tested by TestReadFile(). Reimplemented from vtkXMLParser. |
|
Get/Set the name of the file tested by TestReadFile(). Reimplemented from vtkXMLParser. |
|
Get the data type of the XML file tested. If the file could not be read, returns NULL. |
|
Get the file version of the XML file tested. If the file could not be read, returns NULL. |
|
Reimplemented from vtkXMLParser. |
|
Reimplemented from vtkXMLParser. |
|
Reimplemented from vtkXMLParser. Definition at line 73 of file vtkXMLFileReadTester.h. |
|
Reimplemented from vtkXMLParser. Definition at line 74 of file vtkXMLFileReadTester.h. |
|
Reimplemented from vtkXMLParser. Definition at line 75 of file vtkXMLFileReadTester.h. |
|
Reimplemented from vtkXMLParser. Definition at line 76 of file vtkXMLFileReadTester.h. |
|
Reimplemented from vtkXMLParser. Definition at line 77 of file vtkXMLFileReadTester.h. |
|
|
|
|
|
Reimplemented from vtkXMLParser. Definition at line 79 of file vtkXMLFileReadTester.h. |
|
Definition at line 80 of file vtkXMLFileReadTester.h. |
|
Definition at line 81 of file vtkXMLFileReadTester.h. |
|
Definition at line 82 of file vtkXMLFileReadTester.h. |