047c4b077056e11fc2a730614d3b43d6f230a88f
1 /**
2 * Copyright (C) ARM Limited 2010-2012. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
9 #ifndef COUNTERS_H
10 #define COUNTERS_H
12 #include "XMLReader.h"
14 class ConfigurationXML {
15 public:
16 ConfigurationXML();
17 ~ConfigurationXML();
18 const char* getConfigurationXML() {return mConfigurationXML;}
19 private:
20 char* mConfigurationXML;
22 int parse(const char* xmlFile);
23 bool isValid(void);
24 int configurationsTag(XMLReader *in);
25 int configurationTag(XMLReader* in);
26 int index;
27 };
29 #endif // COUNTERS_H