attribute.h

来自「uml编辑器很牛」· C头文件 代码 · 共 40 行

H
40
字号
#ifndef _CATTRIBUTE_H_7261F2E3_1899_4934_B253082664F
#define _CATTRIBUTE_H_7261F2E3_1899_4934_B253082664F

///////////////////////////////////////////////////////////
// Attribute.h
// Created: 06/02/04
//

#include "StringHelpers.h"
#include "PropertyContainer.h"

class CAttribute : public CObject
{
public:
	// Construction/destruction
	CAttribute();
	virtual ~CAttribute();

// Operations
	CString ToString( BOOL nomarkers );
	CAttribute* Clone( );
	static CAttribute* FromString( const CString& str );
	CString GetString( int format = STRING_FORMAT_SAVE ) const;


// Attributes
	int maintype;
	int access;
	CString name;
	CString type;
	CString multiplicity;
	CString defaultvalue;
	CString stereotype;

	CPropertyContainer	properties;

};

#endif //_CATTRIBUTE_H_7261F2E3_1899_4934_B253082664F

⌨️ 快捷键说明

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