CppLogicGateSimulator / gateOR.h
gateOR.h
Raw
#pragma once

#include "node.h"
#include "gate.h"

#ifndef GATEOR_H_INCLUDED
#define GATEOR_H_INCLUDED

using namespace std;

class gateOR : public gate
{
    public:
        gateOR();
        gateOR(string inName);
        gateOR(node* input1, node* input2, node* out);
        int compute() override;
};

#endif // GATEOR_H_INCLUDED