コード例 #1
0
void ConnectionModuleStatusData::Clear()
{
	ClearCounters();
	
	m_mod=0;
	p_mod=NULL;
}
コード例 #2
0
void ProjectStatus::Clear()
{
	if(p_project_name!=NULL)
	{
		delete [] p_project_name;
		p_project_name=NULL;
	}

	ClearCounters();
}
コード例 #3
0
void CIndexedHuge::Init(CDurableFile* pcFile, BOOL bDirtyTesting, CIndexedData* pcIndexedData, int iSecondLevelWidth, int iThirdLevelWidth, int iNumSecondLevelChunks, int iNumThirdLevelChunks)
{
	miLastOi = INVALID_O_INDEX;
	mpcFile = pcFile;
	mbDirtyTesting = bDirtyTesting;
	mpcIndexedData = pcIndexedData;
	mpvSecondLevel = NULL;
	mpvThirdLevel = NULL;
	mapFirstLevel.Init(1);

	ClearCounters();
	ChangeStrategy(iSecondLevelWidth, iThirdLevelWidth, iNumSecondLevelChunks, iNumThirdLevelChunks);

	mbSecondLevelCacheFull = FALSE;
	mpsFirstThirdLevelChunk = NULL;
	mpsLastThirdLevelChunk = NULL;
}