Classes | Namespaces | Functions

Predicates.h File Reference

Useful XMLObject predicates for use with STL algorithms. More...

#include <xmltooling/XMLObject.h>
#include <functional>
Include dependency graph for Predicates.h:

Classes

class  xmltooling::hasQName
 Predicate that checks the QName of an XMLObject. More...
class  xmltooling::hasSchemaType
 Predicate that checks the xsi:type of an XMLObject. More...

Namespaces

namespace  xmltooling
 

Public namespace of XML Tooling library.


Functions

template<typename Container , typename Predicate >
Container::value_type xmltooling::find_if (const Container &c, const Predicate &p)
 Template algorithm returns first pointer element from a container that matches a predicate.
template<typename Container , typename Predicate >
Container::value_type xmltooling::find_if (Container &c, const Predicate &p)
 Template algorithm returns first pointer element from a container that matches a predicate.

Detailed Description

Useful XMLObject predicates for use with STL algorithms.