Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

QuickDirtyXMLParser.C File Reference

#include "QuickDirtyXMLParser.h"
#include <stdio.h>

Include dependency graph for QuickDirtyXMLParser.C:

Include dependency graph

Go to the source code of this file.

Functions

string trim (const string &str)
bool matches (string &tag, string &in, int start, int tagsize, int insize)
void parseXML (TreeNode *parentNode, string &xml, int current, int end)
string * traverseTree (TreeNode *node)
int mainTest ()


Function Documentation

int mainTest  
 

Definition at line 186 of file QuickDirtyXMLParser.C.

References TreeNode::getChild(), TreeNode::getValue(), QuickDirtyXMLParser::parseString(), and traverseTree().

bool matches string &    tag,
string &    in,
int    start,
int    tagsize,
int    insize
 

Definition at line 31 of file QuickDirtyXMLParser.C.

void parseXML TreeNode   parentNode,
string &    xml,
int    current,
int    end
 

Definition at line 50 of file QuickDirtyXMLParser.C.

References TreeNode::children, TreeNode::clearChildren(), trim(), and TreeNode::value.

Referenced by QuickDirtyXMLParser::parseString().

string* traverseTree TreeNode   node
 

Definition at line 170 of file QuickDirtyXMLParser.C.

References TreeNode::getChildren(), and TreeNode::getValue().

Referenced by mainTest().

string trim const string &    str
 

Definition at line 6 of file QuickDirtyXMLParser.C.

Referenced by parseXML().


Generated on Tue Dec 17 21:14:34 2002 for AUSS_Connector by doxygen1.2.18