xmltooling 3.2.4
xmltooling::XMLObjectPairList< Container, _Ty > Class Template Reference

STL-compatible container that mediates access to underlying lists of typed XML children that come in pairs. More...

#include <xmltooling/util/XMLObjectChildrenList.h>

Public Member Functions

 XMLObjectPairList (XMLObject *parent, Container &sublist, typename std::list< _Ty * > *backing, typename std::list< _Ty * >::iterator ins_fence)
 Constructor to expose a typed collection of pairs backed by a list of a base type.
 

Detailed Description

template<class Container, class _Ty>
class xmltooling::XMLObjectPairList< Container, _Ty >

STL-compatible container that mediates access to underlying lists of typed XML children that come in pairs.

Parameters
_Txthe subtype container to encapsulate
_Tythe base type in the underlying list (defaults to XMLObject)

Constructor & Destructor Documentation

◆ XMLObjectPairList()

template<class Container , class _Ty >
xmltooling::XMLObjectPairList< Container, _Ty >::XMLObjectPairList ( XMLObject * parent,
Container & sublist,
typename std::list< _Ty * > * backing,
typename std::list< _Ty * >::iterator ins_fence )
inline

Constructor to expose a typed collection of pairs backed by a list of a base type.

Parameters
parentparent object of the collection
sublistunderlying container to expose
backingpointer to backing list for children, if any
ins_fencea marker designating where new children of this type should be added

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