00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef PARAMETERSHANDLER_HH_
00017 #define PARAMETERSHANDLER_HH_
00018
00019 #include <xercesc/sax/HandlerBase.hpp>
00020
00021 XERCES_CPP_NAMESPACE_USE
00022
00023 class ParametersHandler : public HandlerBase
00024 {
00025 public:
00026 static std::vector<std::string> vSkillsGeneral_;
00027 static std::vector<std::string> vSkillsAgility_;
00028 static std::vector<std::string> vSkillsPassing_;
00029 static std::vector<std::string> vSkillsStrength_;
00030 static std::vector<std::string> vSkillsMutation_;
00031 static std::vector<std::string> vSkillsExtraordinary_;
00032
00033 static std::string BBversion_;
00034
00035
00036
00037
00038 ParametersHandler();
00039 virtual ~ParametersHandler();
00040
00041
00042
00043
00044 void startElement(const XMLCh* const name, AttributeList& attributes);
00045 void characters(const XMLCh* const chars, const unsigned int length);
00046 void endElement(const XMLCh* const name);
00047
00048
00049 private:
00050 static std::vector<std::string> *vCurrent_;
00051
00052 std::string currentNode_;
00053 };
00054
00055 #endif