www.pudn.com > classSystem(c++).rar > ManagerNode.h
// ManagerNode.h: interface for the CManagerNode class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MANAGERNODE_H__9DE5C50E_8188_44E0_8EED_D0345C9F6AE2__INCLUDED_)
#define AFX_MANAGERNODE_H__9DE5C50E_8188_44E0_8EED_D0345C9F6AE2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CManagerNode
{
public:
CManagerNode(CString ManagerName,CString Pwd,CManagerNode *next=NULL)
{
this->m_ManagerName = ManagerName;
this->m_password = Pwd;
this->next = next;
}
CManagerNode(CManagerNode* next = NULL )
{
this->next = next;
}
virtual ~CManagerNode();
CString m_ManagerName;
CString m_password;
CManagerNode* next;//pointer to next manager
};
#endif // !defined(AFX_MANAGERNODE_H__9DE5C50E_8188_44E0_8EED_D0345C9F6AE2__INCLUDED_)