operationcontainer.h

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

H
36
字号
#ifndef _OPERATIONCONTAINER_H_5DE26980_B9B9_4899_8993C9B614
#define _OPERATIONCONTAINER_H_5DE26980_B9B9_4899_8993C9B614

///////////////////////////////////////////////////////////
// File :		COperationContainer.h
// Created :	06/08/04
//
#include "Operation.h"

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

// Operations
	void Copy( COperationContainer & operations );
	int GetSize(  ) const;
	COperation* GetAt( int index ) const;
	void RemoveAt( int index );
	void RemoveAll(  );
	void Add( COperation * operation );
	CString GetString( int format = STRING_FORMAT_SAVE ) const;
	void SetSize( int size );
	void SetAt( int index, COperation* obj );

// Attributes

private:
	CObArray m_operations;


};
#endif //_OPERATIONCONTAINER_H_5DE26980_B9B9_4899_8993C9B614

⌨️ 快捷键说明

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