ActiViz .NET
5.8.0
|
vtkXMLDataElement - Represents an XML element and those nested inside. More...
Public Member Functions | |
vtkXMLDataElement (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkXMLDataElement () | |
Undocumented Block. | |
void | AddCharacterData (string data, uint length) |
void | AddNestedElement (vtkXMLDataElement element) |
Add nested element. | |
virtual void | DeepCopy (vtkXMLDataElement elem) |
Copy this element from another of the same type (elem), recursively. Old attributes and nested elements are removed, new ones are created given the contents of 'elem'. Warning: Parent is ignored. | |
vtkXMLDataElement | FindNestedElement (string id) |
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children. | |
vtkXMLDataElement | FindNestedElementWithName (string name) |
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children. | |
vtkXMLDataElement | FindNestedElementWithNameAndAttribute (string name, string att_name, string att_value) |
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children. | |
vtkXMLDataElement | FindNestedElementWithNameAndId (string name, string id) |
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children. | |
string | GetAttribute (string name) |
Get the attribute with the given name. If it doesn't exist, returns 0. | |
virtual int | GetAttributeEncoding () |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser. | |
virtual int | GetAttributeEncodingMaxValue () |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser. | |
virtual int | GetAttributeEncodingMinValue () |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser. | |
string | GetAttributeName (int idx) |
Get the n-th attribute name. Returns 0 if there is no such attribute. | |
string | GetAttributeValue (int idx) |
Get the n-th attribute value. Returns 0 if there is no such attribute. | |
virtual string | GetCharacterData () |
Set/Get the character data between XML start/end tags. | |
virtual int | GetCharacterDataWidth () |
Get/Set the width (in number of fields) that character data (that between open and closing tags ie. <X> ... </X>) is printed. If the width is less than one the tag's character data is printed all on one line. If it is greater than one the character data is streamed insterting line feeds every width number of fields. See PrintXML. | |
virtual string | GetId () |
Set/Get the value of the id attribute of the element, if any. | |
virtual string | GetName () |
Set/Get the name of the element. This is its XML tag. | |
vtkXMLDataElement | GetNestedElement (int index) |
Get the element nested in this one at the given index. | |
virtual int | GetNumberOfAttributes () |
Get the number of attributes. | |
int | GetNumberOfNestedElements () |
Get the number of elements nested in this one. | |
vtkXMLDataElement | GetParent () |
Set/Get the parent of this element. | |
virtual vtkXMLDataElement | GetRoot () |
Get root of the XML tree this element is part of. | |
int | GetScalarAttribute (string name, ref int value) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted. | |
int | GetScalarAttribute (string name, ref float value) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted. | |
int | GetScalarAttribute (string name, ref double value) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted. | |
int | GetScalarAttribute (string name, ref uint value) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted. | |
int | GetVectorAttribute (string name, int length, IntPtr value) |
Get the attribute with the given name and converted to a scalar value. Returns length of vector read. | |
int | GetWordTypeAttribute (string name, ref int value) |
Get the attribute with the given name and converted to a word type such as VTK_FLOAT or VTK_UNSIGNED_LONG. | |
virtual uint | GetXMLByteIndex () |
Set/Get the offset from the beginning of the XML document to this element. | |
override int | IsA (string type) |
Undocumented Block. | |
virtual int | IsEqualTo (vtkXMLDataElement elem) |
Check if the instance has the same name, attributes, character data and nested elements contents than the given element (this method is applied recursively on the nested elements, and they must be stored in the same order). Warning: Id, Parent, XMLByteIndex are ignored. | |
vtkXMLDataElement | LookupElement (string id) |
Lookup the element with the given id, starting at this scope. | |
vtkXMLDataElement | LookupElementWithName (string name) |
Find the first nested element with given name. WARNING: the search is performed on the whole XML tree. | |
new vtkXMLDataElement | NewInstance () |
Undocumented Block. | |
void | PrintXML (string fname) |
Prints element tree as XML. | |
virtual void | RemoveAllAttributes () |
Remove one or all attributes. | |
virtual void | RemoveAllNestedElements () |
Remove all nested elements. | |
virtual void | RemoveAttribute (string name) |
Remove one or all attributes. | |
virtual void | RemoveNestedElement (vtkXMLDataElement arg0) |
Remove nested element. | |
void | SetAttribute (string name, string value) |
Set the attribute with the given name and value. If it doesn't exist, adds it. | |
virtual void | SetAttributeEncoding (int _arg) |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser. | |
void | SetCharacterData (string c, int length) |
Set/Get the character data between XML start/end tags. | |
virtual void | SetCharacterDataWidth (int _arg) |
Get/Set the width (in number of fields) that character data (that between open and closing tags ie. <X> ... </X>) is printed. If the width is less than one the tag's character data is printed all on one line. If it is greater than one the character data is streamed insterting line feeds every width number of fields. See PrintXML. | |
void | SetDoubleAttribute (string name, double value) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long). | |
void | SetFloatAttribute (string name, float value) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long). | |
virtual void | SetId (string _arg) |
Set/Get the value of the id attribute of the element, if any. | |
void | SetIntAttribute (string name, int value) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long). | |
virtual void | SetName (string _arg) |
Set/Get the name of the element. This is its XML tag. | |
void | SetParent (vtkXMLDataElement parent) |
Set/Get the parent of this element. | |
void | SetUnsignedLongAttribute (string name, uint value) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long). | |
void | SetVectorAttribute (string name, int length, IntPtr value) |
Set the attribute with the given name. | |
virtual void | SetXMLByteIndex (uint _arg) |
Set/Get the offset from the beginning of the XML document to this element. | |
Static Public Member Functions | |
static new vtkXMLDataElement | New () |
Undocumented Block. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkXMLDataElement | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkXMLDataElement" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "17vtkXMLDataElement" |
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 | vtkXMLDataElement_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkXMLDataElement_AddCharacterData_01 (HandleRef pThis, string data, uint length) |
static internal void | vtkXMLDataElement_AddNestedElement_02 (HandleRef pThis, HandleRef element) |
static internal void | vtkXMLDataElement_DeepCopy_03 (HandleRef pThis, HandleRef elem) |
static internal IntPtr | vtkXMLDataElement_FindNestedElement_04 (HandleRef pThis, string id, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkXMLDataElement_FindNestedElementWithName_05 (HandleRef pThis, string name, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkXMLDataElement_FindNestedElementWithNameAndAttribute_06 (HandleRef pThis, string name, string att_name, string att_value, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkXMLDataElement_FindNestedElementWithNameAndId_07 (HandleRef pThis, string name, string id, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkXMLDataElement_GetAttribute_08 (HandleRef pThis, string name) |
static internal int | vtkXMLDataElement_GetAttributeEncoding_09 (HandleRef pThis) |
static internal int | vtkXMLDataElement_GetAttributeEncodingMaxValue_10 (HandleRef pThis) |
static internal int | vtkXMLDataElement_GetAttributeEncodingMinValue_11 (HandleRef pThis) |
static internal IntPtr | vtkXMLDataElement_GetAttributeName_12 (HandleRef pThis, int idx) |
static internal IntPtr | vtkXMLDataElement_GetAttributeValue_13 (HandleRef pThis, int idx) |
static internal IntPtr | vtkXMLDataElement_GetCharacterData_14 (HandleRef pThis) |
static internal int | vtkXMLDataElement_GetCharacterDataWidth_15 (HandleRef pThis) |
static internal IntPtr | vtkXMLDataElement_GetId_16 (HandleRef pThis) |
static internal IntPtr | vtkXMLDataElement_GetName_17 (HandleRef pThis) |
static internal IntPtr | vtkXMLDataElement_GetNestedElement_18 (HandleRef pThis, int index, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkXMLDataElement_GetNumberOfAttributes_19 (HandleRef pThis) |
static internal int | vtkXMLDataElement_GetNumberOfNestedElements_20 (HandleRef pThis) |
static internal IntPtr | vtkXMLDataElement_GetParent_21 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkXMLDataElement_GetRoot_22 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkXMLDataElement_GetScalarAttribute_23 (HandleRef pThis, string name, ref int value) |
static internal int | vtkXMLDataElement_GetScalarAttribute_24 (HandleRef pThis, string name, ref float value) |
static internal int | vtkXMLDataElement_GetScalarAttribute_25 (HandleRef pThis, string name, ref double value) |
static internal int | vtkXMLDataElement_GetScalarAttribute_26 (HandleRef pThis, string name, ref uint value) |
static internal int | vtkXMLDataElement_GetVectorAttribute_27 (HandleRef pThis, string name, int length, IntPtr value) |
static internal int | vtkXMLDataElement_GetWordTypeAttribute_28 (HandleRef pThis, string name, ref int value) |
static internal uint | vtkXMLDataElement_GetXMLByteIndex_29 (HandleRef pThis) |
static internal int | vtkXMLDataElement_IsA_30 (HandleRef pThis, string type) |
static internal int | vtkXMLDataElement_IsEqualTo_31 (HandleRef pThis, HandleRef elem) |
static internal int | vtkXMLDataElement_IsTypeOf_32 (string type) |
static internal IntPtr | vtkXMLDataElement_LookupElement_33 (HandleRef pThis, string id, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkXMLDataElement_LookupElementWithName_34 (HandleRef pThis, string name, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkXMLDataElement_NewInstance_36 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkXMLDataElement_PrintXML_37 (HandleRef pThis, string fname) |
static internal void | vtkXMLDataElement_RemoveAllAttributes_38 (HandleRef pThis) |
static internal void | vtkXMLDataElement_RemoveAllNestedElements_39 (HandleRef pThis) |
static internal void | vtkXMLDataElement_RemoveAttribute_40 (HandleRef pThis, string name) |
static internal void | vtkXMLDataElement_RemoveNestedElement_41 (HandleRef pThis, HandleRef arg0) |
static internal IntPtr | vtkXMLDataElement_SafeDownCast_42 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkXMLDataElement_SetAttribute_43 (HandleRef pThis, string name, string value) |
static internal void | vtkXMLDataElement_SetAttributeEncoding_44 (HandleRef pThis, int _arg) |
static internal void | vtkXMLDataElement_SetCharacterData_45 (HandleRef pThis, string c, int length) |
static internal void | vtkXMLDataElement_SetCharacterDataWidth_46 (HandleRef pThis, int _arg) |
static internal void | vtkXMLDataElement_SetDoubleAttribute_47 (HandleRef pThis, string name, double value) |
static internal void | vtkXMLDataElement_SetFloatAttribute_48 (HandleRef pThis, string name, float value) |
static internal void | vtkXMLDataElement_SetId_49 (HandleRef pThis, string _arg) |
static internal void | vtkXMLDataElement_SetIntAttribute_50 (HandleRef pThis, string name, int value) |
static internal void | vtkXMLDataElement_SetName_51 (HandleRef pThis, string _arg) |
static internal void | vtkXMLDataElement_SetParent_52 (HandleRef pThis, HandleRef parent) |
static internal void | vtkXMLDataElement_SetUnsignedLongAttribute_53 (HandleRef pThis, string name, uint value) |
static internal void | vtkXMLDataElement_SetVectorAttribute_54 (HandleRef pThis, string name, int length, IntPtr value) |
static internal void | vtkXMLDataElement_SetXMLByteIndex_55 (HandleRef pThis, uint _arg) |
Static Private Member Functions | |
static | vtkXMLDataElement () |
Automatically generated type registration mechanics. |
vtkXMLDataElement - Represents an XML element and those nested inside.
Description vtkXMLDataElement is used by vtkXMLDataParser to represent an XML element. It provides methods to access the element's attributes and nested elements in a convenient manner. This allows easy traversal of an input XML file by vtkXMLReader and its subclasses.
static Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Undocumented Block.
void Kitware.VTK.vtkXMLDataElement.AddCharacterData | ( | string | data, |
uint | length | ||
) |
----------------------------------------------------------------------------
void Kitware.VTK.vtkXMLDataElement.AddNestedElement | ( | vtkXMLDataElement | element | ) |
Add nested element.
virtual void Kitware.VTK.vtkXMLDataElement.DeepCopy | ( | vtkXMLDataElement | elem | ) | [virtual] |
Copy this element from another of the same type (elem), recursively. Old attributes and nested elements are removed, new ones are created given the contents of 'elem'. Warning: Parent is ignored.
override void Kitware.VTK.vtkXMLDataElement.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.
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children.
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children.
vtkXMLDataElement Kitware.VTK.vtkXMLDataElement.FindNestedElementWithNameAndAttribute | ( | string | name, |
string | att_name, | ||
string | att_value | ||
) |
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children.
vtkXMLDataElement Kitware.VTK.vtkXMLDataElement.FindNestedElementWithNameAndId | ( | string | name, |
string | id | ||
) |
Find the first nested element with the given id, given name, or given name and id. WARNING: the search is only performed on the children, not the grand-children.
string Kitware.VTK.vtkXMLDataElement.GetAttribute | ( | string | name | ) |
Get the attribute with the given name. If it doesn't exist, returns 0.
virtual int Kitware.VTK.vtkXMLDataElement.GetAttributeEncoding | ( | ) | [virtual] |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser.
virtual int Kitware.VTK.vtkXMLDataElement.GetAttributeEncodingMaxValue | ( | ) | [virtual] |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser.
virtual int Kitware.VTK.vtkXMLDataElement.GetAttributeEncodingMinValue | ( | ) | [virtual] |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser.
string Kitware.VTK.vtkXMLDataElement.GetAttributeName | ( | int | idx | ) |
Get the n-th attribute name. Returns 0 if there is no such attribute.
string Kitware.VTK.vtkXMLDataElement.GetAttributeValue | ( | int | idx | ) |
Get the n-th attribute value. Returns 0 if there is no such attribute.
virtual string Kitware.VTK.vtkXMLDataElement.GetCharacterData | ( | ) | [virtual] |
Set/Get the character data between XML start/end tags.
virtual int Kitware.VTK.vtkXMLDataElement.GetCharacterDataWidth | ( | ) | [virtual] |
Get/Set the width (in number of fields) that character data (that between open and closing tags ie. <X> ... </X>) is printed. If the width is less than one the tag's character data is printed all on one line. If it is greater than one the character data is streamed insterting line feeds every width number of fields. See PrintXML.
virtual string Kitware.VTK.vtkXMLDataElement.GetId | ( | ) | [virtual] |
Set/Get the value of the id attribute of the element, if any.
virtual string Kitware.VTK.vtkXMLDataElement.GetName | ( | ) | [virtual] |
Set/Get the name of the element. This is its XML tag.
Get the element nested in this one at the given index.
virtual int Kitware.VTK.vtkXMLDataElement.GetNumberOfAttributes | ( | ) | [virtual] |
Get the number of attributes.
Get the number of elements nested in this one.
Set/Get the parent of this element.
virtual vtkXMLDataElement Kitware.VTK.vtkXMLDataElement.GetRoot | ( | ) | [virtual] |
Get root of the XML tree this element is part of.
int Kitware.VTK.vtkXMLDataElement.GetScalarAttribute | ( | string | name, |
ref int | value | ||
) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted.
int Kitware.VTK.vtkXMLDataElement.GetScalarAttribute | ( | string | name, |
ref float | value | ||
) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted.
int Kitware.VTK.vtkXMLDataElement.GetScalarAttribute | ( | string | name, |
ref double | value | ||
) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted.
int Kitware.VTK.vtkXMLDataElement.GetScalarAttribute | ( | string | name, |
ref uint | value | ||
) |
Get the attribute with the given name and converted to a scalar value. Returns whether value was extracted.
int Kitware.VTK.vtkXMLDataElement.GetVectorAttribute | ( | string | name, |
int | length, | ||
IntPtr | value | ||
) |
Get the attribute with the given name and converted to a scalar value. Returns length of vector read.
int Kitware.VTK.vtkXMLDataElement.GetWordTypeAttribute | ( | string | name, |
ref int | value | ||
) |
Get the attribute with the given name and converted to a word type such as VTK_FLOAT or VTK_UNSIGNED_LONG.
virtual uint Kitware.VTK.vtkXMLDataElement.GetXMLByteIndex | ( | ) | [virtual] |
Set/Get the offset from the beginning of the XML document to this element.
override int Kitware.VTK.vtkXMLDataElement.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
virtual int Kitware.VTK.vtkXMLDataElement.IsEqualTo | ( | vtkXMLDataElement | elem | ) | [virtual] |
Check if the instance has the same name, attributes, character data and nested elements contents than the given element (this method is applied recursively on the nested elements, and they must be stored in the same order). Warning: Id, Parent, XMLByteIndex are ignored.
static new int Kitware.VTK.vtkXMLDataElement.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Lookup the element with the given id, starting at this scope.
Find the first nested element with given name. WARNING: the search is performed on the whole XML tree.
static new vtkXMLDataElement Kitware.VTK.vtkXMLDataElement.New | ( | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
void Kitware.VTK.vtkXMLDataElement.PrintXML | ( | string | fname | ) |
Prints element tree as XML.
virtual void Kitware.VTK.vtkXMLDataElement.RemoveAllAttributes | ( | ) | [virtual] |
Remove one or all attributes.
virtual void Kitware.VTK.vtkXMLDataElement.RemoveAllNestedElements | ( | ) | [virtual] |
Remove all nested elements.
virtual void Kitware.VTK.vtkXMLDataElement.RemoveAttribute | ( | string | name | ) | [virtual] |
Remove one or all attributes.
virtual void Kitware.VTK.vtkXMLDataElement.RemoveNestedElement | ( | vtkXMLDataElement | arg0 | ) | [virtual] |
Remove nested element.
static new vtkXMLDataElement Kitware.VTK.vtkXMLDataElement.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkObject.
void Kitware.VTK.vtkXMLDataElement.SetAttribute | ( | string | name, |
string | value | ||
) |
Set the attribute with the given name and value. If it doesn't exist, adds it.
virtual void Kitware.VTK.vtkXMLDataElement.SetAttributeEncoding | ( | int | _arg | ) | [virtual] |
Get/Set the internal character encoding of the attributes. Default type is VTK_ENCODING_UTF_8. Note that a vtkXMLDataParser has its own AttributesEncoding ivar. If this ivar is set to something other than VTK_ENCODING_NONE, it will be used to set the attribute encoding of each vtkXMLDataElement created by this vtkXMLDataParser.
void Kitware.VTK.vtkXMLDataElement.SetCharacterData | ( | string | c, |
int | length | ||
) |
Set/Get the character data between XML start/end tags.
virtual void Kitware.VTK.vtkXMLDataElement.SetCharacterDataWidth | ( | int | _arg | ) | [virtual] |
Get/Set the width (in number of fields) that character data (that between open and closing tags ie. <X> ... </X>) is printed. If the width is less than one the tag's character data is printed all on one line. If it is greater than one the character data is streamed insterting line feeds every width number of fields. See PrintXML.
void Kitware.VTK.vtkXMLDataElement.SetDoubleAttribute | ( | string | name, |
double | value | ||
) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long).
void Kitware.VTK.vtkXMLDataElement.SetFloatAttribute | ( | string | name, |
float | value | ||
) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long).
virtual void Kitware.VTK.vtkXMLDataElement.SetId | ( | string | _arg | ) | [virtual] |
Set/Get the value of the id attribute of the element, if any.
void Kitware.VTK.vtkXMLDataElement.SetIntAttribute | ( | string | name, |
int | value | ||
) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long).
virtual void Kitware.VTK.vtkXMLDataElement.SetName | ( | string | _arg | ) | [virtual] |
Set/Get the name of the element. This is its XML tag.
void Kitware.VTK.vtkXMLDataElement.SetParent | ( | vtkXMLDataElement | parent | ) |
Set/Get the parent of this element.
void Kitware.VTK.vtkXMLDataElement.SetUnsignedLongAttribute | ( | string | name, |
uint | value | ||
) |
Set the attribute with the given name. We can not use the same GetScalarAttribute() construct since the compiler will not be able to resolve between SetAttribute(..., int) and SetAttribute(..., unsigned long).
void Kitware.VTK.vtkXMLDataElement.SetVectorAttribute | ( | string | name, |
int | length, | ||
IntPtr | value | ||
) |
Set the attribute with the given name.
virtual void Kitware.VTK.vtkXMLDataElement.SetXMLByteIndex | ( | uint | _arg | ) | [virtual] |
Set/Get the offset from the beginning of the XML document to this element.
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_AddCharacterData_01 | ( | HandleRef | pThis, |
string | data, | ||
uint | length | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_AddNestedElement_02 | ( | HandleRef | pThis, |
HandleRef | element | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_DeepCopy_03 | ( | HandleRef | pThis, |
HandleRef | elem | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_FindNestedElement_04 | ( | HandleRef | pThis, |
string | id, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_FindNestedElementWithName_05 | ( | HandleRef | pThis, |
string | name, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_FindNestedElementWithNameAndAttribute_06 | ( | HandleRef | pThis, |
string | name, | ||
string | att_name, | ||
string | att_value, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_FindNestedElementWithNameAndId_07 | ( | HandleRef | pThis, |
string | name, | ||
string | id, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetAttribute_08 | ( | HandleRef | pThis, |
string | name | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetAttributeEncoding_09 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetAttributeEncodingMaxValue_10 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetAttributeEncodingMinValue_11 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetAttributeName_12 | ( | HandleRef | pThis, |
int | idx | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetAttributeValue_13 | ( | HandleRef | pThis, |
int | idx | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetCharacterData_14 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetCharacterDataWidth_15 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetId_16 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetName_17 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetNestedElement_18 | ( | HandleRef | pThis, |
int | index, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetNumberOfAttributes_19 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetNumberOfNestedElements_20 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetParent_21 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetRoot_22 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetScalarAttribute_23 | ( | HandleRef | pThis, |
string | name, | ||
ref int | value | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetScalarAttribute_24 | ( | HandleRef | pThis, |
string | name, | ||
ref float | value | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetScalarAttribute_25 | ( | HandleRef | pThis, |
string | name, | ||
ref double | value | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetScalarAttribute_26 | ( | HandleRef | pThis, |
string | name, | ||
ref uint | value | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetVectorAttribute_27 | ( | HandleRef | pThis, |
string | name, | ||
int | length, | ||
IntPtr | value | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetWordTypeAttribute_28 | ( | HandleRef | pThis, |
string | name, | ||
ref int | value | ||
) | [private] |
static internal uint Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_GetXMLByteIndex_29 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_IsA_30 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_IsEqualTo_31 | ( | HandleRef | pThis, |
HandleRef | elem | ||
) | [private] |
static internal int Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_IsTypeOf_32 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_LookupElement_33 | ( | HandleRef | pThis, |
string | id, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_LookupElementWithName_34 | ( | HandleRef | pThis, |
string | name, | ||
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_NewInstance_36 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_PrintXML_37 | ( | HandleRef | pThis, |
string | fname | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_RemoveAllAttributes_38 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_RemoveAllNestedElements_39 | ( | HandleRef | pThis | ) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_RemoveAttribute_40 | ( | HandleRef | pThis, |
string | name | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_RemoveNestedElement_41 | ( | HandleRef | pThis, |
HandleRef | arg0 | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SafeDownCast_42 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetAttribute_43 | ( | HandleRef | pThis, |
string | name, | ||
string | value | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetAttributeEncoding_44 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetCharacterData_45 | ( | HandleRef | pThis, |
string | c, | ||
int | length | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetCharacterDataWidth_46 | ( | HandleRef | pThis, |
int | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetDoubleAttribute_47 | ( | HandleRef | pThis, |
string | name, | ||
double | value | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetFloatAttribute_48 | ( | HandleRef | pThis, |
string | name, | ||
float | value | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetId_49 | ( | HandleRef | pThis, |
string | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetIntAttribute_50 | ( | HandleRef | pThis, |
string | name, | ||
int | value | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetName_51 | ( | HandleRef | pThis, |
string | _arg | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetParent_52 | ( | HandleRef | pThis, |
HandleRef | parent | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetUnsignedLongAttribute_53 | ( | HandleRef | pThis, |
string | name, | ||
uint | value | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetVectorAttribute_54 | ( | HandleRef | pThis, |
string | name, | ||
int | length, | ||
IntPtr | value | ||
) | [private] |
static internal void Kitware.VTK.vtkXMLDataElement.vtkXMLDataElement_SetXMLByteIndex_55 | ( | HandleRef | pThis, |
uint | _arg | ||
) | [private] |
new readonly string Kitware.VTK.vtkXMLDataElement.MRClassNameKey = "17vtkXMLDataElement" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.
new const string Kitware.VTK.vtkXMLDataElement.MRFullTypeName = "Kitware.VTK.vtkXMLDataElement" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkObject.