XMLObjectChildrenList.h File Reference

STL-compatible container wrapper. More...

#include <xmltooling/exceptions.h>
#include <xmltooling/XMLObject.h>
#include <list>

Namespaces

namespace  xmltooling

Classes

class  xmltooling::XMLObjectChildrenIterator< Container, _Ty >
 STL iterator that mediates access to an iterator over typed XML children. More...
class  xmltooling::XMLObjectChildrenList< Container, _Ty >
 STL-compatible container that mediates access to underlying lists of typed XML children. More...
class  xmltooling::XMLObjectPairList< Container, _Ty >
 STL-compatible container that mediates access to underlying lists of typed XML children that come in pairs. More...

Defines

#define VectorOf(type)   xmltooling::XMLObjectChildrenList< std::vector<type*> >
 Shorthand for an XMLObjectChildrenList wrapped around a vector.
#define ListOf(type)   xmltooling::XMLObjectChildrenList< std::list<type*> >
 Shorthand for an XMLObjectChildrenList wrapped around a list.
#define DequeOf(type)   xmltooling::XMLObjectChildrenList< std::deque<type*> >
 Shorthand for an XMLObjectChildrenList wrapped around a deque.
#define VectorOfPairs(type1, type2)   xmltooling::XMLObjectPairList< std::vector< std::pair<type1*,type2*> > >
 Shorthand for an XMLObjectPairList wrapped around a vector.
#define ListOfPairs(type1, type2)   xmltooling::XMLObjectPairList< std::list< std::pair<type1*,type2*> > >
 Shorthand for an XMLObjectPairList wrapped around a list.
#define DequeOfPairs(type1, type2)   xmltooling::XMLObjectPairList< std::deque< std::pair<type1*,type2*> > >
 Shorthand for an XMLObjectPairList wrapped around a deque.


Detailed Description

STL-compatible container wrapper.


Define Documentation

#define DequeOf ( type   )     xmltooling::XMLObjectChildrenList< std::deque<type*> >

Shorthand for an XMLObjectChildrenList wrapped around a deque.

Parameters:
type the type of object in the deque

#define DequeOfPairs ( type1,
type2   )     xmltooling::XMLObjectPairList< std::deque< std::pair<type1*,type2*> > >

Shorthand for an XMLObjectPairList wrapped around a deque.

Parameters:
type1 the first type of object in the vector
type2 the second type of object in the vector

#define ListOf ( type   )     xmltooling::XMLObjectChildrenList< std::list<type*> >

Shorthand for an XMLObjectChildrenList wrapped around a list.

Parameters:
type the type of object in the list

#define ListOfPairs ( type1,
type2   )     xmltooling::XMLObjectPairList< std::list< std::pair<type1*,type2*> > >

Shorthand for an XMLObjectPairList wrapped around a list.

Parameters:
type1 the first type of object in the vector
type2 the second type of object in the vector

#define VectorOf ( type   )     xmltooling::XMLObjectChildrenList< std::vector<type*> >

Shorthand for an XMLObjectChildrenList wrapped around a vector.

Parameters:
type the type of object in the vector

#define VectorOfPairs ( type1,
type2   )     xmltooling::XMLObjectPairList< std::vector< std::pair<type1*,type2*> > >

Shorthand for an XMLObjectPairList wrapped around a vector.

Parameters:
type1 the first type of object in the vector
type2 the second type of object in the vector


Generated on Mon Oct 19 14:18:34 2009 for xmltooling by  doxygen 1.4.7