|
xmltooling
1.4.2
|
STL-compatible container that mediates access to underlying lists of typed XML children. More...
#include <xmltooling/util/XMLObjectChildrenList.h>
Public Member Functions | |
| XMLObjectChildrenList (XMLObject *parent, Container &sublist, typename std::list< _Ty * > *backing, typename std::list< _Ty * >::iterator ins_fence) | |
| Constructor to expose a typed collection of children backed by a list of a base type. | |
STL-compatible container that mediates access to underlying lists of typed XML children.
| _Tx | the subtype container to encapsulate |
| _Ty | the base type in the underlying list (defaults to XMLObject) |
| xmltooling::XMLObjectChildrenList< Container, _Ty >::XMLObjectChildrenList | ( | XMLObject * | parent, |
| Container & | sublist, | ||
| typename std::list< _Ty * > * | backing, | ||
| typename std::list< _Ty * >::iterator | ins_fence | ||
| ) | [inline] |
Constructor to expose a typed collection of children backed by a list of a base type.
| parent | parent object of the collection |
| sublist | underlying container to expose |
| backing | pointer to backing list for children, if any |
| ins_fence | a marker designating where new children of this type should be added |