📄 nodebase.h
字号:
// NodeBase.h: interface for the CNodeBase class.
//
//////////////////////////////////////////////////////////////////////
#ifndef _NODEBASE_H__
#define _NODEBASE_H__
/**
* 节点基类
*/
class CNodeBase
{
public:
CNodeBase();
virtual ~CNodeBase();
virtual void* Visit()=0; //返回节点数据
CNodeBase* GetNext(); //返回下一个节点
void SetNext(CNodeBase* pNext);
virtual bool operator== (const CNodeBase* nodebase)=0;
private:
CNodeBase* m_pNext;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -