diff --git a/trans.h b/trans.h new file mode 100644 index 0000000..0329541 --- /dev/null +++ b/trans.h @@ -0,0 +1,36 @@ +/* + * 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; +}; + +class Trans { +public: + Segment* c1; + Segment* gate; + Segment* c2; + + bool on; +}; + +#endif /* TRANS_H */