/* * File: trans.h * Author: cmosher * * Created on December 10, 2013, 2:37 PM */ #ifndef TRANS_H #define TRANS_H #include #include class Trans; class Segment { public: std::string id; std::vector gates; std::vector c1c2s; bool pullup; bool pulldown; bool on; Segment(std::string& id) : id(id) { } }; class Trans { public: Segment* c1; Segment* gate; Segment* c2; bool on; }; #endif /* TRANS_H */