Aceobj.cpp File Reference

#include "Aceobj.h"
#include <iostream>
#include <strformat.h>
#include <vector>

Functions

int digestLine (vector< string > &vec, const string &str)
void del (Acenode *p)
Acenodefind (Acenode *n, const string &tag)

Function Documentation

void del ( Acenode p  ) 

int digestLine ( vector< string > &  vec,
const string &  str 
)

the node has a Type:Value pair, because the Type can be any string value, it is not practical to use integer to represent them. When new types are added we have to update the definition of the integer value. So it will be represented by pair<string,string>

References split().

Acenode* find ( Acenode n,
const string &  tag 
)

recursive function must be written in this format, as non-member function.

References Acenode::child, cmp_nocase(), find(), Acenode::sibling, Acenode::type, and Acenode::value.


Generated on Wed Aug 10 11:57:01 2011 for Softwares from Orpara by  doxygen 1.5.6