from panda3d.core import TiXmlAttributeSet
- /* A class used to manage a group of attributes.
It is only used internally, both by the ELEMENT and the DECLARATION.
The set can be changed transparent to the Element and Declaration classes that use it, but NOT transparent to the Attribute which has to implement a next() and previous() method. Which makes it a bit problematic and prevents the use of STL.
- This version is implemented with circular lists because:
I like circular lists
it demonstrates some independence from the (typical) doubly linked list.
First() → TiXmlAttribute
Last() → TiXmlAttribute