?? reslistnode.h
字號:
// ResNode.h
//
// Author: Lea Hayes
// Date Created: 10/03/2006
// Date Modified: 10/03/2006
#pragma once
namespace Resources
{
typedef class ResListNode * LPRESLISTNODE;
class ResListNode
{
// Construction and destruction.
public:
ResListNode(LPRESOURCE pRes = NULL);
~ResListNode();
// Properties.
inline bool IsResourceValid() const
{
return m_pRes != NULL;
}
inline bool IsBeginNode() const
{
return m_pPrev == NULL;
}
inline bool IsEndNode() const
{
return m_pNext == NULL;
}
inline size_t GetIndex() const
{
return m_nIndex;
}
// Only resource arrays, iterators and of course the node itself have
// access to protected iterator members.
friend class ResourceArray;
friend class ResArrayIt;
friend class ResArrayHandle;
// Attributes.
protected:
LPRESLISTNODE m_pPrev, m_pNext; // Linkage.
LPRESOURCE m_pRes; // Resource itself.
size_t m_nIndex; // Index of node.
};
}; // namespace Resources
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -