⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ktransition.h

📁 这个工具集提供以下结构化分析和UML分析中所用的图形化绘图工具:ER-diagrams, data and event flow diagrams and state-transition diagr
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -