36 lines
775 B
C++
36 lines
775 B
C++
//-------------------------------------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
|
|
// = FileName : TDListNode 模板类
|
|
// = Version : ver2.0
|
|
// = Author : wlw
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: TDListNode 声明 双向循环链表结点
|
|
// = Maintainers:
|
|
//
|
|
//-------------------------------------------------------------------------------------------------------+
|
|
#ifndef _TDLISTNODE_H_
|
|
#define _TDLISTNODE_H_
|
|
|
|
#ifndef _TLISTNODE_H_
|
|
#include "TListNode.h"
|
|
#endif
|
|
|
|
template<class T> class TDListNode : public TListNode< T >
|
|
{
|
|
public:
|
|
TDListNode<T>();
|
|
|
|
public:
|
|
TListNode<T>* pre;
|
|
};
|
|
|
|
template<class T>
|
|
TDListNode<T>::TDListNode()
|
|
: pre(NULL)
|
|
{
|
|
|
|
}
|
|
|
|
|
|
#endif
|