aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-04-26 02:51:01 +0000
committerbloodstalker <thabogre@gmail.com>2017-04-26 02:51:01 +0000
commitbd31676937801a986ec4923b4841f8bb5cadc622 (patch)
tree9ed31f2576002a3171157de6019ada0530abcb06
parentadded some xml-related stuff (diff)
downloadmutator-bd31676937801a986ec4923b4841f8bb5cadc622.tar.gz
mutator-bd31676937801a986ec4923b4841f8bb5cadc622.zip
added some xml-related stuff
-rw-r--r--bruiser/bruiser.h41
1 files changed, 33 insertions, 8 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h
index 57664d6..4147353 100644
--- a/bruiser/bruiser.h
+++ b/bruiser/bruiser.h
@@ -90,21 +90,21 @@ class TypeInfo
const clang::ast_type_traits::DynTypedNode* DTN;
};
/**********************************************************************************************************************/
-class ReadMutatorRep
+class ReadM0
{
public:
- ReadMutatorRep() {}
+ ReadM0() {}
- ~ReadMutatorRep() {}
+ ~ReadM0() {}
- int LoadXMLDoc(void)
+ XMLError LoadXMLDoc(void)
{
XMLError eResult = IntermediateXMLDoc.LoadFile(M0REP);
return eResult;
}
- int ReadFirstElement(void)
+ XMLError ReadFirstElement(void)
{
RootPointer = IntermediateXMLDoc.FirstChild();
@@ -118,11 +118,36 @@ class ReadMutatorRep
}
}
-private:
- XMLDocument IntermediateXMLDoc;
- XMLNode* RootPointer;
+ XMLNode* getRootPointer(void)
+ {
+ return RootPointer;
+ }
+
+ private:
+ void Debug(void)
+ {
+
+ }
+
+ XMLDocument IntermediateXMLDoc;
+ XMLNode* RootPointer;
};
/**********************************************************************************************************************/
+class SearchM0
+{
+ public:
+ SearchM0(XMLNode* __rptr) : RootPointer(__rptr) {}
+
+ ~SearchM0() {};
+
+ void Debug(void)
+ {
+
+ }
+
+ private:
+ XMLNode* RootPointer;
+};
/**********************************************************************************************************************/
} // end of namespace bruiser
#endif