Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPostProcessingNodeClass.php 653 Bytes
22521f1c   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
<?php

define ("REQUESTOUTPUTPOSTPROCESSING_NAME", "postProcess");



/**
 * @class RequestOutputPostProcessingNodeClass
 * @brief Definition of a request post processing node type for AMDA_Kernel
 * @details
*/
class RequestOutputPostProcessingNodeClass extends NodeClass
{
	public function __construct()
	{
		parent::__construct(REQUESTOUTPUTPOSTPROCESSING_NAME);
	}

	public function addPostProcessing($type)
	{
		$this->getChildInstanceByName($type, true);
	}

	public function isPostProcessing($type)
	{
		if ($type == RequestOutputPostProcessingEnumClass::UNKNOWN)
			return false;
		return ($this->getChildInstanceByName($type) != NULL);
	}
}

?>