## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csutil/documenthelper.h File Reference

Helper functions and classes which operate on iDocumentNode and iDocumentNodeIterator. More...

`#include "csutil/refarr.h"`
`#include "csutil/regexp.h"`
`#include "csutil/scf_implementation.h"`
`#include "iutil/document.h"`

Go to the source code of this file.

## Namespaces

namespace | CrystalSpace
namespace | CrystalSpace::DocumentHelper
namespace | CrystalSpace::DocumentHelper::Implementation

## Classes

class | CrystalSpace::DocumentHelper::Implementation::FilterDocumentNodeIterator< T >
| Filtering iDocumentNodeIterator. More...
struct | CrystalSpace::DocumentHelper::NodeAttributeCompare
| Node comparator. More...
struct | CrystalSpace::DocumentHelper::NodeAttributeRegexpTest
| Check if a regular expression matches(case-insensitive) with the value of the given attribute. More...
struct | CrystalSpace::DocumentHelper::NodeAttributeValueTest
| Compare (case-sensitive) node attribute to given. More...
struct | CrystalSpace::DocumentHelper::NodeNameCompare
| Node comparator. More...
struct | CrystalSpace::DocumentHelper::NodeValueTest
| Compare (case-sensitive) node value to given. More...

## Functions

template<class T>
csPtr< iDocumentNodeIterator > | CrystalSpace::DocumentHelper::FilterDocumentNodeIterator (csRef< iDocumentNodeIterator > parent, T filter)
| Get a filtering iDocumentNodeIterator Example usage:.
template<class T>
void | CrystalSpace::DocumentHelper::RemoveDuplicateChildren (iDocumentNode *rootNode, csRef< iDocumentNodeIterator > childIt, T eq)
| Remove duplicate child-nodes.
template<class T>
void | CrystalSpace::DocumentHelper::RemoveDuplicateChildren (iDocumentNode *rootNode, T eq)
| Remove duplicate child-nodes.

## Detailed Description

Helper functions and classes which operate on iDocumentNode and iDocumentNodeIterator.

Definition in file documenthelper.h.