CrystalSpace

Public API Reference

csutil/documenthelper.h File Reference

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

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

Go to the source code of this file.

Namespaces

namespace  CS
namespace  CS::DocSystem
namespace  CS::DocSystem::Implementation
namespace  CS::DocumentHelper

Classes

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

Typedefs

typedef
CS::DocSystem::NodeAttributeCompare 
CS::DocumentHelper::NodeAttributeCompare
typedef
CS::DocSystem::NodeAttributeRegexpTest 
CS::DocumentHelper::NodeAttributeRegexpTest
typedef
CS::DocSystem::NodeAttributeValueTest 
CS::DocumentHelper::NodeAttributeValueTest
typedef
CS::DocSystem::NodeNameCompare 
CS::DocumentHelper::NodeNameCompare
typedef
CS::DocSystem::NodeValueTest 
CS::DocumentHelper::NodeValueTest

Functions

void CS::DocumentHelper::CloneAttributes (iDocumentNode *from, iDocumentNode *to)
void CS::DocSystem::CloneAttributes (iDocumentNode *from, iDocumentNode *to)
 Copy the attributes of a node to another node.
void CS::DocumentHelper::CloneNode (iDocumentNode *from, iDocumentNode *to)
void CS::DocSystem::CloneNode (iDocumentNode *from, iDocumentNode *to)
 Recursively clone a node with all its attributes and child-nodes.
template<class T>
csPtr
< iDocumentNodeIterator
CS::DocumentHelper::FilterDocumentNodeIterator (csRef< iDocumentNodeIterator > parent, T filter)
template<class T>
csPtr
< iDocumentNodeIterator
CS::DocSystem::FilterDocumentNodeIterator (csRef< iDocumentNodeIterator > parent, T filter)
 Get a filtering iDocumentNodeIterator.
csString CS::DocumentHelper::FlattenNode (iDocumentNode *node)
 "Flatten" a document node structure into a string, suitable for e.g.
csString CS::DocSystem::FlattenNode (iDocumentNode *node)
 "Flatten" a document node structure into a string, suitable for e.g.
template<class T>
void CS::DocumentHelper::RemoveDuplicateChildren (iDocumentNode *rootNode, csRef< iDocumentNodeIterator > childIt, T eq)
template<class T>
void CS::DocumentHelper::RemoveDuplicateChildren (iDocumentNode *rootNode, T eq)
template<class T>
void CS::DocSystem::RemoveDuplicateChildren (iDocumentNode *rootNode, csRef< iDocumentNodeIterator > childIt, T eq)
 Remove duplicate child-nodes.
template<class T>
void CS::DocSystem::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.


Generated for Crystal Space 1.2.1 by doxygen 1.5.3