CrystalSpace

Public API Reference

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CrystalSpace::DocumentHelper Namespace Reference

Namespace to group helpers operating on iDocument*. More...


Classes

struct  NodeAttributeCompare
 Node comparator. More...
struct  NodeAttributeRegexpTest
 Check if a regular expression matches(case-insensitive) with the value of the given attribute. More...
struct  NodeAttributeValueTest
 Compare (case-sensitive) node attribute to given. More...
struct  NodeNameCompare
 Node comparator. More...
struct  NodeValueTest
 Compare (case-sensitive) node value to given. More...

Namespaces

namespace  Implementation

Functions

template<class T>
csPtr< iDocumentNodeIteratorFilterDocumentNodeIterator (csRef< iDocumentNodeIterator > parent, T filter)
 Get a filtering iDocumentNodeIterator.
template<class T>
void RemoveDuplicateChildren (iDocumentNode *rootNode, csRef< iDocumentNodeIterator > childIt, T eq)
 Remove duplicate child-nodes.
template<class T>
void RemoveDuplicateChildren (iDocumentNode *rootNode, T eq)
 Remove duplicate child-nodes.


Detailed Description

Namespace to group helpers operating on iDocument*.

Function Documentation

template<class T>
csPtr<iDocumentNodeIterator> CrystalSpace::DocumentHelper::FilterDocumentNodeIterator csRef< iDocumentNodeIterator parent,
filter
 

Get a filtering iDocumentNodeIterator.

Definition at line 282 of file documenthelper.h.

template<class T>
void CrystalSpace::DocumentHelper::RemoveDuplicateChildren iDocumentNode rootNode,
csRef< iDocumentNodeIterator childIt,
eq
 

Remove duplicate child-nodes.

The functor T is used to determine what should be seen as equal nodes. This is a O(n^2) operation!

Definition at line 111 of file documenthelper.h.

References iDocumentNode::RemoveNode().

template<class T>
void CrystalSpace::DocumentHelper::RemoveDuplicateChildren iDocumentNode rootNode,
eq
 

Remove duplicate child-nodes.

The functor T is used to determine what should be seen as equal nodes. This is a O(n^2) operation!

Definition at line 98 of file documenthelper.h.

References iDocumentNode::GetNodes().


Generated for Crystal Space by doxygen 1.4.4