RLib  5.7
RLib - an opensource, lightweight and multi-platform framework for cpp programming
System::Xml::XmlAttributeSet Class Reference

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: More...

Public Member Functions

void Add (XmlAttribute *attribute)
 
void Remove (XmlAttribute *attribute)
 
const XmlAttributeFirst () const
 
XmlAttributeFirst ()
 
const XmlAttributeLast () const
 
XmlAttributeLast ()
 
XmlAttributeFind (const TCHAR *_name) const
 
XmlAttributeFindOrCreate (const TCHAR *_name)
 

Public Attributes

 RLIB_DECLARE_DYNCREATE
 

Detailed Description

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.

The documentation for this class was generated from the following files: