|
INET Framework for OMNeT++/OMNEST
|
00001 /* 00002 * stpXMLparser.h 00003 * 00004 * Created on: 17.5.2011 00005 * Author: aranel 00006 */ 00007 00008 #ifndef STPXMLPARSER_H_ 00009 #define STPXMLPARSER_H_ 00010 00011 #include <omnetpp.h> 00012 #include <string> 00013 #include <vector> 00014 #include "stp.h" 00015 00016 class stpXMLparser { 00017 public: 00018 stpXMLparser(Stp *); 00019 virtual ~stpXMLparser(); 00020 00021 bool parse(const char *, const char *); 00022 00023 void parseSTP(cXMLElement * node); 00024 00025 private: 00026 Stp * stp; 00027 00028 }; 00029 00030 #endif /* STPXMLPARSER_H_ */