#include <vtkPVXMLElement.h>
Collaboration diagram for vtkPVXMLElement:
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVXMLElement, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
const char * | GetAttribute (const char *name) |
vtkPVXMLElement * | GetParent () |
unsigned int | GetNumberOfNestedElements () |
vtkPVXMLElement * | GetNestedElement (unsigned int index) |
vtkPVXMLElement * | FindNestedElement (const char *id) |
vtkPVXMLElement * | LookupElement (const char *id) |
virtual char * | GetName () |
virtual char * | GetId () |
int | GetScalarAttribute (const char *name, int *value) |
int | GetScalarAttribute (const char *name, float *value) |
int | GetScalarAttribute (const char *name, double *value) |
int | GetVectorAttribute (const char *name, int length, int *value) |
int | GetVectorAttribute (const char *name, int length, float *value) |
int | GetVectorAttribute (const char *name, int length, double *value) |
Static Public Member Functions | |
vtkPVXMLElement * | New () |
Protected Member Functions | |
vtkPVXMLElement () | |
~vtkPVXMLElement () | |
virtual void | SetName (const char *) |
virtual void | SetId (const char *) |
void | ReadXMLAttributes (const char **atts) |
void | AddNestedElement (vtkPVXMLElement *element) |
void | AddCharacterData (const char *data, int length) |
void | PrintXML (ostream &os, vtkIndent indent) |
vtkPVXMLElement * | LookupElementInScope (const char *id) |
vtkPVXMLElement * | LookupElementUpScope (const char *id) |
void | SetParent (vtkPVXMLElement *parent) |
Protected Attributes | |
char * | Name |
char * | Id |
char ** | AttributeNames |
char ** | AttributeValues |
unsigned int | NumberOfAttributes |
unsigned int | AttributesSize |
unsigned int | NumberOfNestedElements |
unsigned int | NestedElementsSize |
vtkPVXMLElement ** | NestedElements |
vtkPVXMLElement * | Parent |
Friends | |
class | vtkPVXMLParser |
Definition at line 28 of file vtkPVXMLElement.h.
|
|
|
|
|
|
|
|
|
|
|
Get the name of the element. This is its XML tag. |
|
Get the id of the element. |
|
Get the attribute with the given name. If it doesn't exist, returns 0. |
|
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted. |
|
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted. |
|
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted. |
|
Get the attribute with the given name and converted to a scalar value. Returns length of vector read. |
|
Get the attribute with the given name and converted to a scalar value. Returns length of vector read. |
|
Get the attribute with the given name and converted to a scalar value. Returns length of vector read. |
|
Get the parent of this element. |
|
Get the number of elements nested in this one. |
|
Get the element nested in this one at the given index. |
|
Find a nested element with the given id. |
|
Lookup the element with the given id, starting at this scope. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 116 of file vtkPVXMLElement.h. |
|
Definition at line 84 of file vtkPVXMLElement.h. |
|
Definition at line 85 of file vtkPVXMLElement.h. |
|
Definition at line 88 of file vtkPVXMLElement.h. |
|
Definition at line 89 of file vtkPVXMLElement.h. |
|
Definition at line 90 of file vtkPVXMLElement.h. |
|
Definition at line 91 of file vtkPVXMLElement.h. |
|
Definition at line 94 of file vtkPVXMLElement.h. |
|
Definition at line 95 of file vtkPVXMLElement.h. |
|
Definition at line 96 of file vtkPVXMLElement.h. |
|
Definition at line 99 of file vtkPVXMLElement.h. |