HistoPlotConfigNode.hh 817 Bytes
/*
 * HistoPlotConfigNode.hh
 *
 *  Created on: Dec 13, 2013
 *      Author: amdadev
 */

#ifndef HISTOPLOTCONFIGNODE_HH_
#define HISTOPLOTCONFIGNODE_HH_

#include <string>
#include "AbstractPlotConfigNode.hh"

namespace plot {
/**
 * Class used to handle xml configuration for histo plot types.
 */
class HistoPlotConfigNode: public plot::AbstractPlotConfigNode {
public:
	HistoPlotConfigNode();
	virtual ~HistoPlotConfigNode();
protected:
	/**
	 * @overload plot::AbstractPanelPlotNode::geNodeName
	 */
	const std::string& getNodeName();

private:
	/**
	 * constant to uniquely identify this node in the registry
	 */
	static const std::string NODENAME;
	/**
	 * artificial special attribute to force registering node.
	 */
	static std::string _key;
};

} /* namespace plot */

#endif /* HISTOPLOTCONFIGNODE_HH_ */