RequestOutputPlotConstantNodeClass.php
640 Bytes
<?php
define ("REQUESTOUTPUTPLOTCONSTANT_NAME", "constantLine");
define ("REQUESTOUTPUTPLOTCONSTANT_VALUE", "value");
/**
* @class RequestOutputPlotConstantNodeClass
* @brief Definition of a constant element for a plot
* @details
*/
class RequestOutputPlotConstantNodeClass extends RequestOutputPlotCurveNodeClass
{
public function __construct()
{
parent::__construct(REQUESTOUTPUTPLOTCONSTANT_NAME);
}
public function setConstantValue($value)
{
$this->setAttribute(REQUESTOUTPUTPLOTCONSTANT_VALUE, $value);
}
public function getConstantValue()
{
return $this->getAttribute(REQUESTOUTPUTPLOTCONSTANT_VALUE);
}
}
?>