Blame view

src/Info/InstrumentParser.hh 705 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
 * InstrumentParser.hh
 *
 *  Created on: Oct 6, 2014
 *      Author: m.mazel
 */

#ifndef INSTRUMENTPARSER_HH_
#define INSTUMENTPARSER_HH_

#include <string>

#include "XMLConfigurator.hh"
#include "InstrumentInfo.hh"

namespace AMDA {
namespace Info {

/**
 * @class InstrumentParser
 * @brief Implementation of a XMLConfigurator to parse information of an instrument
 * @details
 */
class InstrumentParser : public AMDA::XMLConfigurator::XMLConfigurator{

public:
	InstrumentParser (const char* pXSDFile);
	virtual ~InstrumentParser() {}

	boost::shared_ptr<InstrumentInfo> parse (const std::string& requestFile);
};

} /* namespace Info */
} /* namespace AMDA */

#endif /* INSTRUMENTPARSER_HH_ */