From bd31676937801a986ec4923b4841f8bb5cadc622 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Wed, 26 Apr 2017 07:21:01 +0430 Subject: added some xml-related stuff --- bruiser/bruiser.h | 41 +++++++++++++++++++++++++++++++++-------- 1 file 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 -- cgit v1.2.3