blob: cff66c0d5d6b19991a6b8d484792af32c5d05ebf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "NodeOutput.h"
#include <iostream>
NodeOutput NodeOutput::instance(NodeOutput::type);
NodeOutput::NodeOutput(const char * type) : Node(type) { }
void NodeOutput::compare() {
if (this->inputs.size() > 0) {
std::cout << this->inputs[0]->getLevel() << std::endl;
}
}
NodeOutput::NodeOutput(const NodeOutput * prototype) : Node() { }
NodeOutput * NodeOutput::clone() const {
return new NodeOutput(this);
}
|