Blame view

src/ParamOutputImpl/Plot/LayoutNode.hh 733 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
37
38
39
/**
 * LayoutNode.hh
 *
 *  Created on: Sep, 2, 2014
 *      Author: AKKA
 */

#ifndef LAYOUTNODE_HH_
#define LAYOUTNODE_HH_

#include <libxml/tree.h>
#include <iosfwd>

#include "NodeCfg.hh"
#include "PlotLogger.hh"
#include "LayoutProperties.hh"
#include "CommonNode.hh"



namespace plot {


/**
 * Read a 'layout' tag from xml request and populate related plot::LayoutProperties
 * object.
 * structure of xml node to read is defined in the plot.xsd schemas.
 */
class LayoutNode: public AMDA::XMLConfigurator::NodeCfg {
public:

	LayoutNode() : AMDA::XMLConfigurator::NodeCfg(){};
	virtual ~LayoutNode(){};
	void proceed(xmlNodePtr ,const AMDA::Parameters::CfgContext& );
};

} /* namespace plot */

#endif /* LAYOUTNODE_HH_ */