Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv11258
Modified Files:
XML.cpp XML.h
Log Message:
getParent() added.
Index: XML.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base/XML.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** XML.h 1 May 2007 15:05:00 -0000 1.7
--- XML.h 6 Jun 2007 16:00:29 -0000 1.8
***************
*** 133,136 ****
--- 133,138 ----
virtual XMLNode *getNode(std::string _name);
+ virtual XMLNode *getParent(void);
+
/** Get attributes' number.
*
Index: XML.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/Base/XML.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** XML.cpp 12 Apr 2007 19:58:58 -0000 1.7
--- XML.cpp 6 Jun 2007 16:00:29 -0000 1.8
***************
*** 146,149 ****
--- 146,154 ----
}
+ XMLNode *XMLNode::getParent(void)
+ {
+ return(parent);
+ }
+
int XMLNode::attributeNumber(void)
{
|