wellfilearray.cpp
来自「采用距离反比加权算法」· C++ 代码 · 共 40 行
CPP
40 行
// WellFileArray.cpp: implementation of the CWellFileArray class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Test.h"
#include "WellFileArray.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CWellFileArray::CWellFileArray()
{
}
CWellFileArray::~CWellFileArray()
{
Clear();
}
void CWellFileArray::Clear()
{
int nCount = GetSize();
for (int i=0;i<nCount;i++)
{
CWellFile* pData = GetAt(i);
if (pData != NULL)
delete pData;
}
RemoveAll();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?