📄 chkrecursion.h
字号:
//-----------------------------------------------------------------------------
// (c) 2002 by Basler Vision Technologies
// Section: Vision Components
// Project: BCAM
// $Header: ChkRecursion.h, 3, 02.10.2002 14:31:25, Nebelung, H.$
//-----------------------------------------------------------------------------
/**
\file ChkRecursion.h
\brief interface for the CChkRecursion class.
*/
#if !defined(AFX_CHKRECURSION_H__469B1733_FC1F_11D4_8EF7_00105AC44283__INCLUDED_)
#define AFX_CHKRECURSION_H__469B1733_FC1F_11D4_8EF7_00105AC44283__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <stdlib.h>
class CChkRecursion
{
int * m_pnRecursionCounter;
public:
CChkRecursion(int *pnRecursionCounter);
virtual ~CChkRecursion();
inline bool Check(int nLimit)
{
return (NULL != m_pnRecursionCounter && *m_pnRecursionCounter > nLimit);
};
};
#endif // !defined(AFX_CHKRECURSION_H__469B1733_FC1F_11D4_8EF7_00105AC44283__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -