TiXmlAttribute
from panda3d.core import TiXmlAttribute
- class TiXmlAttribute
Bases:
Bases:
TiXmlBase
An attribute is a name-value pair. Elements have an arbitrary number of attributes, each with a unique name.
Note
The attributes are not
TiXmlNodes
, since they are not part of the tinyXML document object model. There are other suggested ways to look at this problem.Inheritance diagram
- Next() TiXmlAttribute
- Next() TiXmlAttribute
/// Get the next sibling attribute in the DOM. Returns null at end.
- Previous() TiXmlAttribute
- Previous() TiXmlAttribute
/// Get the previous sibling attribute in the DOM. Returns null at beginning.
- SetDocument(doc: TiXmlDocument)
[internal use] Set the document pointer so the attribute can report errors.
- SetName(_name: str)
/// STL std::string form.
- SetValue(_value: str)
/// STL std::string form.
- __eq__(rhs: TiXmlAttribute) bool
- __gt__(rhs: TiXmlAttribute) bool
- __init__()
/// Construct an empty attribute.
- __lt__(rhs: TiXmlAttribute) bool