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

📄 command.cpp

📁 这是我写的数据结构的课设
💻 CPP
字号:
// Command.cpp: implementation of the CCommand class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "CollegeWizard.h"
#include "Command.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// CInsertVertex实现
//////////////////////////////////////////////////////////////////////

CInsertVertex::CInsertVertex()
{
	m_nStep = 0;
}

CInsertVertex::~CInsertVertex()
{

}

int	CInsertVertex::GetType()
{
	return ctInsertVertex;
}

int	CInsertVertex::OnLButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInsertVertex::OnMouseMove(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInsertVertex::OnRButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInsertVertex::Cancel()
{
	return 0;
}
//////////////////////////////////////////////////////////////////////
// CInsertPath实现
//////////////////////////////////////////////////////////////////////

CInsertPath::CInsertPath()
{
	m_nStep = 0;
}

CInsertPath::~CInsertPath()
{

}

int	CInsertPath::GetType()
{
	return ctInsertPath;
}

int	CInsertPath::OnLButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInsertPath::OnMouseMove(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInsertPath::OnRButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInsertPath::Cancel()
{
	return 0;
}
//////////////////////////////////////////////////////////////////////
// CDelete实现
//////////////////////////////////////////////////////////////////////

CDelete::CDelete()
{
	m_nStep = 0;
}

CDelete::~CDelete()
{

}

int	CDelete::GetType()
{
	return ctDelete;
}

int	CDelete::OnLButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CDelete::OnMouseMove(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CDelete::OnRButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CDelete::Cancel()
{
	return 0;
}
//////////////////////////////////////////////////////////////////////
// CChange实现
//////////////////////////////////////////////////////////////////////

CChange::CChange()
{
	m_nStep = 0;
}

CChange::~CChange()
{

}

int	CChange::GetType()
{
	return ctChange;
}

int	CChange::OnLButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CChange::OnMouseMove(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CChange::OnRButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CChange::Cancel()
{
	return 0;
}
//////////////////////////////////////////////////////////////////////
// CInformation实现
//////////////////////////////////////////////////////////////////////

CInformation::CInformation()
{
	m_nStep = 0;
}

CInformation::~CInformation()
{

}

int	CInformation::GetType()
{
	return ctInformation;
}

int	CInformation::OnLButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInformation::OnMouseMove(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInformation::OnRButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CInformation::Cancel()
{
	return 0;
}
//////////////////////////////////////////////////////////////////////
// CShortestPath实现
//////////////////////////////////////////////////////////////////////

CShortestPath::CShortestPath()
{
	m_nStep = 0;
}

CShortestPath::~CShortestPath()
{

}

int	CShortestPath::GetType()
{
	return ctShortestPath;
}

int	CShortestPath::OnLButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CShortestPath::OnMouseMove(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CShortestPath::OnRButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CShortestPath::Cancel()
{
	return 0;
}
//////////////////////////////////////////////////////////////////////
// CAllPaths实现
//////////////////////////////////////////////////////////////////////

CAllPaths::CAllPaths()
{
	m_nStep = 0;
}

CAllPaths::~CAllPaths()
{

}

int	CAllPaths::GetType()
{
	return ctAllPaths;
}

int	CAllPaths::OnLButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CAllPaths::OnMouseMove(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CAllPaths::OnRButtonDown(UINT nFlags, const CPoint center)
{
	return 0;
}

int	CAllPaths::Cancel()
{
	return 0;
}

⌨️ 快捷键说明

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