ktransition.h
来自「这个工具集提供以下结构化分析和UML分析中所用的图形化绘图工具:ER-diagr」· C头文件 代码 · 共 46 行
H
46 行
#ifndef _KTRANSITION_H#define _KTRANSITION_H#include "subject.h"#include "lvector.h"#include "llist.h"#include "transition.h"class KLocation;class KTransition: public Vector<Subject *> { public: KLocation *to; bool InputTransition; /* was: Resett . -- The function has been extended (from indicating whether ``reset{t}'' should be included into the transition to whether the transition is an input transition inserted by GenerateEvents() ). */ KTransition(unsigned c); ~KTransition() { }; bool operator==(const KTransition &comp) const { return InputTransition == comp.InputTransition && to == comp.to && Vector<Subject *>::operator==(comp); }; bool operator< (const KTransition &comp) const; bool operator> (const KTransition &comp) const { return comp < *this; }; bool operator<=(const KTransition &comp) const { return ! (comp < *this); }; bool operator>=(const KTransition &comp) const { return ! (*this < comp); }; bool operator!=(const KTransition &comp) const { return ! (comp == *this); }; string GetGuards() const; string GetEvents() const; string GetClockResets() const;};unsigned IsClockReset(const string &s);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?