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.

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...

Namespaces

namespace  CS
 

Main namespace for CrystalSpace.


namespace  CS::DocSystem
 

Document system / XML helper classes.


Functions

void CS::DocSystem::CloneAttributes (iDocumentNode *from, iDocumentNode *to)
 Copy the attributes of a node to another node.
void CS::DocSystem::CloneNode (iDocumentNode *from, iDocumentNode *to)
 Recursively clone a node with all its attributes and child-nodes.
template<class T >
csPtr< iDocumentNodeIteratorCS::DocSystem::FilterDocumentNodeIterator (csRef< iDocumentNodeIterator > parent, T filter)
 Get a filtering iDocumentNodeIterator.
csString CS::DocSystem::FlattenNode (iDocumentNode *node)
 "Flatten" a document node structure into a string, suitable for e.g.
csString CS::DocSystem::FlattenNodeShallow (iDocumentNode *node)
 "Flatten" a document node structure into a string ignoring child nodes,
csPtr< iDocumentCS::DocSystem::MakeChangeable (iDocument *doc, iDocumentSystem *docsys)
 Make a document changeable.
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.
bool CS::DocSystem::SetContentsValue (iDocumentNode *node, const char *contents)
 Set the contents of a document node.

Detailed Description

Helper functions and classes which operate on iDocumentNode and iDocumentNodeIterator.

Definition in file documenthelper.h.


Generated for Crystal Space 2.0 by doxygen 1.6.1