00001
00024 #ifndef _CONFIGREADER_H
00025 #define _CONFIGREADER_H
00026
00027 #include "../Features/Feature.h"
00028 #include "../Classifiers/Classifier.h"
00029 #include "../Predictors/Predictor.h"
00030
00037 class ConfigReader {
00038 private:
00048 pair<string, classifierparams> classifier;
00049
00059 pair<string, providerparams> predictor;
00060
00070 map<string, providerparams> provider;
00071
00080 parametermap globals;
00081
00085 stringvector features;
00086
00090 stringvector aggregates;
00091
00095 stringvector protocols;
00096
00097 public:
00103 ConfigReader(const char *file);
00104
00106
00111 const pair<string, map<string, string> > *getClassifier();
00112 const pair<string, map<string, string> > *getPredictor();
00113 const map<string, map<string, string> > *getFeatureProvider();
00114 const vector<string> *getFeatures();
00115 const vector<string> *getAggregates();
00116 const vector<string> *getProtocols();
00117 const map<string, string> *getGlobals();
00119 };
00120
00121 #endif // _CONFIGREADER_H
00122