flowchartlink.h

来自「大家用过UML的流程图设计器吧」· C头文件 代码 · 共 40 行

H
40
字号
#ifndef _FLOWCHARTLINK_H_
#define _FLOWCHARTLINK_H_

// Link types
#define LINK_LEFT	1
#define LINK_RIGHT	2
#define LINK_TOP	4
#define LINK_BOTTOM 8

#define LINK_ALL	15

#define LINK_START	16
#define LINK_END	32

class CFlowchartLink : public CObject 
{

public:
// Creation/destruction
	CFlowchartLink();
	virtual ~CFlowchartLink();

	static int ReverseLink( int link );

// Implementation
	virtual CString GetString() const;
	virtual CFlowchartLink* Clone() const;
	virtual BOOL FromString( const CString& str );

// Data
	int		fromtype;	// Type of the from-part of the link
	int		totype;	// Type of the to-part.
	CString title;		// Title of the link, if any.
	CString	from;		// Name of the attached from-object.
	CString	to;			// Name of the attached to-object, if any.

};

#endif // _FLOWCHARTLINK_H_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?