LayoutNode.hh 733 Bytes
/**
 * 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_ */