Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TListNode.h
T
2026-09-28 15:28:50 +08:00

34 lines
772 B
C++

//-------------------------------------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TListNode 模板类
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
// = Description: TListNode 声明 单向循环链表结点
// 定义方式不能改变,其与const data access有直接关系!
// = Maintainers:
//
//-------------------------------------------------------------------------------------------------------+
#ifndef _TLISTNODE_H_
#define _TLISTNODE_H_
template <class T>class TListNode
{
public:
TListNode();
~TListNode(){;}
public:
T data;
TListNode<T>*next;
};
template <class T>
TListNode<T>::TListNode()
: next(NULL)
{
}
#endif