Home
Forum
Documentation
C++
|
Lua
Issue Tracker
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
List.hpp
1
/*
2
Cafu Engine, http://www.cafu.de/
3
Copyright (c) Carsten Fuchs and other contributors.
4
This project is licensed under the terms of the MIT license.
5
*/
6
7
#ifndef CAFU_LINKED_LIST_HPP_INCLUDED
8
#define CAFU_LINKED_LIST_HPP_INCLUDED
9
10
11
/// This class represents a node of a singly-linked list.
12
template
<
class
T>
class
ListNodeT
13
{
14
public
:
15
16
ListNodeT
();
///< Constructor.
17
// ~ListNodeT(); ///< Destructor.
18
19
T Data;
20
ListNodeT<T>
* Next;
21
22
23
private
:
24
25
ListNodeT
(
const
ListNodeT<T>
& Other);
///< Use of the Copy Constructor is not allowed.
26
ListNodeT<T>
& operator = (
const
ListNodeT<T>
& Other);
///< Use of the Assignment Operator is not allowed.
27
};
28
29
30
// The default constructor.
31
template
<
class
T>
inline
ListNodeT<T>::ListNodeT
()
32
{
33
}
34
35
#endif
ListNodeT::ListNodeT
ListNodeT()
Constructor.
Definition:
List.hpp:31
ListNodeT
This class represents a node of a singly-linked list.
Definition:
List.hpp:12
Libs
Templates
List.hpp
Generated on Wed Jun 22 2016 11:29:37 for Cafu Engine by
1.8.6
Copyright © 2002-2016 Carsten Fuchs Software.