An collection that can be used to iterate over the XAttributes of a persistent element. More...
#include <XAttributeIter.h>
Classes | |
struct | Entry |
Public Types | |
typedef Entry | const_iterator |
Public Member Functions | |
XAttributeCollection (ElementRefP elRef, XAttributeHandlerId handlerId=XAttributeHandlerId(0, 0)) | |
Construct an XAttributeCollection to iterate over the XAttributes of an element. More... | |
const_iterator | begin () const |
const_iterator | end () const |
Public Attributes | |
ElementRefP | m_elRef |
XAttributeHandlerId | m_searchId |
An collection that can be used to iterate over the XAttributes of a persistent element.
Note: ANY additions or deletions of XAttributes on an element will invalidate all XAttributeCollections and iterators for that element.
typedef Entry const_iterator |
XAttributeCollection | ( | ElementRefP | elRef, |
XAttributeHandlerId | handlerId = XAttributeHandlerId(0,0) |
||
) |
Construct an XAttributeCollection to iterate over the XAttributes of an element.
elRef | IN the ElementRefP to search for the specfied XAttributes |
handlerId | IN the XAttributeHandlerId to search for. If invalid, return all XAttriubutes |
const_iterator begin | ( | ) | const |
const_iterator end | ( | ) | const |
References NULL.
ElementRefP m_elRef |
XAttributeHandlerId m_searchId |