ActiViz .NET
5.8.0
|
vtkXMLParser - Parse XML to handle element tags and attributes. More...
Public Member Functions | |
vtkXMLParser (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkXMLParser () | |
Undocumented Block. | |
virtual int | CleanupParser () |
When parsing fragments of XML or streaming XML, use the following three methods. InitializeParser method initialize parser but does not perform any actual parsing. ParseChunk parses framgent of XML. This has to match to what was already parsed. CleanupParser finishes parsing. If there were errors, CleanupParser will report them. | |
virtual string | GetEncoding () |
Set and get the encoding the parser should expect (NULL defaults to Expat's own default encoder, i.e UTF-8). This should be set before parsing (i.e. a call to Parse()) or even initializing the parser (i.e. a call to InitializeParser()) | |
virtual string | GetFileName () |
Set and get file name. | |
virtual int | GetIgnoreCharacterData () |
If this is off (the default), CharacterDataHandler will be called to process text within XML Elements. If this is on, the text will be ignored. | |
virtual int | InitializeParser () |
When parsing fragments of XML or streaming XML, use the following three methods. InitializeParser method initialize parser but does not perform any actual parsing. ParseChunk parses framgent of XML. This has to match to what was already parsed. CleanupParser finishes parsing. If there were errors, CleanupParser will report them. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkXMLParser | NewInstance () |
Undocumented Block. | |
virtual int | Parse () |
Parse the XML input. | |
virtual int | Parse (string inputString) |
Parse the XML message. If length is specified, parse only the first "length" characters. | |
virtual int | Parse (string inputString, uint length) |
Parse the XML message. If length is specified, parse only the first "length" characters. | |
virtual int | ParseChunk (string inputString, uint length) |
When parsing fragments of XML or streaming XML, use the following three methods. InitializeParser method initialize parser but does not perform any actual parsing. ParseChunk parses framgent of XML. This has to match to what was already parsed. CleanupParser finishes parsing. If there were errors, CleanupParser will report them. | |
void | SeekG (int position) |
Used by subclasses and their supporting classes. These methods wrap around the tellg and seekg methods of the input stream to work-around stream bugs on various platforms. | |
virtual void | SetEncoding (string _arg) |
Set and get the encoding the parser should expect (NULL defaults to Expat's own default encoder, i.e UTF-8). This should be set before parsing (i.e. a call to Parse()) or even initializing the parser (i.e. a call to InitializeParser()) | |
virtual void | SetFileName (string _arg) |
Set and get file name. | |
virtual void | SetIgnoreCharacterData (int _arg) |
If this is off (the default), CharacterDataHandler will be called to process text within XML Elements. If this is on, the text will be ignored. | |
int | TellG () |
Used by subclasses and their supporting classes. These methods wrap around the tellg and seekg methods of the input stream to work-around stream bugs on various platforms. | |
Static Public Member Functions | |
static new vtkXMLParser | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkXMLParser | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkXMLParser" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "12vtkXMLParser" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkXMLParser_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkXMLParser_CleanupParser_01 (HandleRef pThis) |
static internal IntPtr | vtkXMLParser_GetEncoding_02 (HandleRef pThis) |
static internal IntPtr | vtkXMLParser_GetFileName_03 (HandleRef pThis) |
static internal int | vtkXMLParser_GetIgnoreCharacterData_04 (HandleRef pThis) |
static internal int | vtkXMLParser_InitializeParser_05 (HandleRef pThis) |
static internal int | vtkXMLParser_IsA_06 (HandleRef pThis, string type) |
static internal int | vtkXMLParser_IsTypeOf_07 (string type) |
static internal IntPtr | vtkXMLParser_NewInstance_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkXMLParser_Parse_10 (HandleRef pThis) |
static internal int | vtkXMLParser_Parse_11 (HandleRef pThis, string inputString) |
static internal int | vtkXMLParser_Parse_12 (HandleRef pThis, string inputString, uint length) |
static internal int | vtkXMLParser_ParseChunk_13 (HandleRef pThis, string inputString, uint length) |
static internal IntPtr | vtkXMLParser_SafeDownCast_14 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkXMLParser_SeekG_15 (HandleRef pThis, int position) |
static internal void | vtkXMLParser_SetEncoding_16 (HandleRef pThis, string _arg) |
static internal void | vtkXMLParser_SetFileName_17 (HandleRef pThis, string _arg) |
static internal void | vtkXMLParser_SetIgnoreCharacterData_18 (HandleRef pThis, int _arg) |
static internal int | vtkXMLParser_TellG_19 (HandleRef pThis) |
Static Private Member Functions | |
static | vtkXMLParser () |
Automatically generated type registration mechanics. |
vtkXMLParser - Parse XML to handle element tags and attributes.
Description vtkXMLParser reads a stream and parses XML element tags and corresponding attributes. Each element begin tag and its attributes are sent to the StartElement method. Each element end tag is sent to the EndElement method. Subclasses should replace these methods to actually use the tags. ToDo: Add commands for parsing in Tcl.
static Kitware.VTK.vtkXMLParser.vtkXMLParser | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkXMLParser.vtkXMLParser | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
virtual int Kitware.VTK.vtkXMLParser.CleanupParser | ( | ) | [virtual] |
When parsing fragments of XML or streaming XML, use the following three methods. InitializeParser method initialize parser but does not perform any actual parsing. ParseChunk parses framgent of XML. This has to match to what was already parsed. CleanupParser finishes parsing. If there were errors, CleanupParser will report them.
override void Kitware.VTK.vtkXMLParser.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLMaterialParser, Kitware.VTK.vtkXMLDataParser, and Kitware.VTK.vtkXMLFileReadTester.
virtual string Kitware.VTK.vtkXMLParser.GetEncoding | ( | ) | [virtual] |
Set and get the encoding the parser should expect (NULL defaults to Expat's own default encoder, i.e UTF-8). This should be set before parsing (i.e. a call to Parse()) or even initializing the parser (i.e. a call to InitializeParser())
virtual string Kitware.VTK.vtkXMLParser.GetFileName | ( | ) | [virtual] |
Set and get file name.
Reimplemented in Kitware.VTK.vtkXMLFileReadTester.
virtual int Kitware.VTK.vtkXMLParser.GetIgnoreCharacterData | ( | ) | [virtual] |
If this is off (the default), CharacterDataHandler will be called to process text within XML Elements. If this is on, the text will be ignored.
virtual int Kitware.VTK.vtkXMLParser.InitializeParser | ( | ) | [virtual] |
When parsing fragments of XML or streaming XML, use the following three methods. InitializeParser method initialize parser but does not perform any actual parsing. ParseChunk parses framgent of XML. This has to match to what was already parsed. CleanupParser finishes parsing. If there were errors, CleanupParser will report them.
Reimplemented in Kitware.VTK.vtkXMLMaterialParser.
override int Kitware.VTK.vtkXMLParser.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLDataParser, Kitware.VTK.vtkXMLMaterialParser, and Kitware.VTK.vtkXMLFileReadTester.
static new int Kitware.VTK.vtkXMLParser.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLDataParser, Kitware.VTK.vtkXMLMaterialParser, and Kitware.VTK.vtkXMLFileReadTester.
static new vtkXMLParser Kitware.VTK.vtkXMLParser.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLMaterialParser, Kitware.VTK.vtkXMLDataParser, and Kitware.VTK.vtkXMLFileReadTester.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLDataParser, Kitware.VTK.vtkXMLMaterialParser, and Kitware.VTK.vtkXMLFileReadTester.
virtual int Kitware.VTK.vtkXMLParser.Parse | ( | ) | [virtual] |
Parse the XML input.
Reimplemented in Kitware.VTK.vtkXMLDataParser, and Kitware.VTK.vtkXMLMaterialParser.
virtual int Kitware.VTK.vtkXMLParser.Parse | ( | string | inputString | ) | [virtual] |
Parse the XML message. If length is specified, parse only the first "length" characters.
Reimplemented in Kitware.VTK.vtkXMLMaterialParser.
virtual int Kitware.VTK.vtkXMLParser.Parse | ( | string | inputString, |
uint | length | ||
) | [virtual] |
Parse the XML message. If length is specified, parse only the first "length" characters.
Reimplemented in Kitware.VTK.vtkXMLMaterialParser.
virtual int Kitware.VTK.vtkXMLParser.ParseChunk | ( | string | inputString, |
uint | length | ||
) | [virtual] |
When parsing fragments of XML or streaming XML, use the following three methods. InitializeParser method initialize parser but does not perform any actual parsing. ParseChunk parses framgent of XML. This has to match to what was already parsed. CleanupParser finishes parsing. If there were errors, CleanupParser will report them.
static new vtkXMLParser Kitware.VTK.vtkXMLParser.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLDataParser, Kitware.VTK.vtkXMLMaterialParser, and Kitware.VTK.vtkXMLFileReadTester.
void Kitware.VTK.vtkXMLParser.SeekG | ( | int | position | ) |
Used by subclasses and their supporting classes. These methods wrap around the tellg and seekg methods of the input stream to work-around stream bugs on various platforms.
virtual void Kitware.VTK.vtkXMLParser.SetEncoding | ( | string | _arg | ) | [virtual] |
Set and get the encoding the parser should expect (NULL defaults to Expat's own default encoder, i.e UTF-8). This should be set before parsing (i.e. a call to Parse()) or even initializing the parser (i.e. a call to InitializeParser())
virtual void Kitware.VTK.vtkXMLParser.SetFileName | ( | string | _arg | ) | [virtual] |
Set and get file name.
Reimplemented in Kitware.VTK.vtkXMLFileReadTester.
virtual void Kitware.VTK.vtkXMLParser.SetIgnoreCharacterData | ( | int | _arg | ) | [virtual] |
If this is off (the default), CharacterDataHandler will be called to process text within XML Elements. If this is on, the text will be ignored.
int Kitware.VTK.vtkXMLParser.TellG | ( | ) |
Used by subclasses and their supporting classes. These methods wrap around the tellg and seekg methods of the input stream to work-around stream bugs on various platforms.
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_CleanupParser_01 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLParser.vtkXMLParser_GetEncoding_02 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLParser.vtkXMLParser_GetFileName_03 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_GetIgnoreCharacterData_04 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_InitializeParser_05 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_IsA_06 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_IsTypeOf_07 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLParser.vtkXMLParser_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLParser.vtkXMLParser_NewInstance_09 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_Parse_10 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_Parse_11 | ( | HandleRef | pThis, |
string | inputString | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_Parse_12 | ( | HandleRef | pThis, |
string | inputString, | ||
uint | length | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_ParseChunk_13 | ( | HandleRef | pThis, |
string | inputString, | ||
uint | length | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLParser.vtkXMLParser_SafeDownCast_14 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLParser.vtkXMLParser_SeekG_15 | ( | HandleRef | pThis, |
int | position | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLParser.vtkXMLParser_SetEncoding_16 | ( | HandleRef | pThis, |
string | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLParser.vtkXMLParser_SetFileName_17 | ( | HandleRef | pThis, |
string | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLParser.vtkXMLParser_SetIgnoreCharacterData_18 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLParser.vtkXMLParser_TellG_19 | ( | HandleRef | pThis | ) | [private] |
new readonly string Kitware.VTK.vtkXMLParser.MRClassNameKey = "12vtkXMLParser" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLMaterialParser, Kitware.VTK.vtkXMLDataParser, and Kitware.VTK.vtkXMLFileReadTester.
new const string Kitware.VTK.vtkXMLParser.MRFullTypeName = "Kitware.VTK.vtkXMLParser" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
Reimplemented in Kitware.VTK.vtkXMLMaterialParser, Kitware.VTK.vtkXMLDataParser, and Kitware.VTK.vtkXMLFileReadTester.