blob: 37903e05aa3afdb3e5ef92ae69acd9c74dff9d19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "Node.h"
class GateXor : public Node {
public:
GateXor() = default;
GateXor(const GateXor * prototype);
~GateXor() = default;
virtual GateXor * clone() const;
private:
SignalLevel level();
using Node::Node;
constexpr static const char * type = "xor";
static GateXor instance;
private:
int min_inputs = 1;
int max_inputs = -1;
};
|