DCL 4.0
Loading...
Searching...
No Matches
ListBase.h
Go to the documentation of this file.
1#ifndef __DCL_LIST_BASE_H__
2#define __DCL_LIST_BASE_H__ 20110303
3
4#ifndef __DCL_OBJECT_H__
5#include <dcl/Object.h> // for __DCL_ASSERT
6#endif
7
8__DCL_BEGIN_NAMESPACE
9
10#if __DCL_DEBUG
11 static const char_t __szListBase_h__[] = __T("dcl/ListBase.h");
12 #undef __THIS_FILE__
13 #define __THIS_FILE__ __szListBase_h__
14#endif
15
21
24{
25public:
26 bool operator == (const ListIteratorBase& x) const;
27 bool operator != (const ListIteratorBase& x) const;
28
29protected:
32};
33
35{
36public:
37 bool operator == (const ConstListIteratorBase& x) const;
38 bool operator != (const ConstListIteratorBase& x) const;
39
40 bool operator == (const ListIteratorBase& x) const;
41 bool operator != (const ListIteratorBase& x) const;
42
43protected:
45};
46
47inline bool
54
55inline bool
62
64{
67 return __pNode == x.__pNode;
68}
69
71{
74 return __pNode != x.__pNode;
75}
76
78{
81 return __pNode == x.__pNode;
82}
83
85{
88 return __pNode != x.__pNode;
89}
90
91#if __DCL_DEBUG
92 #undef __THIS_FILE__
93 #define __THIS_FILE__ __T(__FILE__)
94#endif
95
96__DCL_END_NAMESPACE
97
98#endif // __DCL_LIST_BASE_H__
DCLCAPI bool operator!=(const STRING_T &_str1, const STRING_T &_str2)
Definition __STRING.h:424
DCLCAPI bool operator==(const STRING_T &_str1, const STRING_T &_str2)
Definition __STRING.h:397
#define NULL
Definition Config.h:340
#define DCLCAPI
Definition Config.h:100
wchar_t char_t
Definition Config.h:275
#define __DCL_ASSERT(expr)
Definition Object.h:371
#define __T(str)
Definition Object.h:44
bool operator==(const ConstListIteratorBase &x) const
Definition ListBase.h:63
bool operator!=(const ConstListIteratorBase &x) const
Definition ListBase.h:70
const NodeBase * __pNode
Definition ListBase.h:44
friend class ConstListIteratorBase
Definition ListBase.h:31
bool operator!=(const ListIteratorBase &x) const
Definition ListBase.h:56
NodeBase * __pNode
Definition ListBase.h:30
bool operator==(const ListIteratorBase &x) const
Definition ListBase.h:48
NodeBase * pPrev
Definition ListBase.h:18
NodeBase * pNext
Definition ListBase.h:19