summaryrefslogtreecommitdiff
path: root/ace/Containers.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-17 20:22:38 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-17 20:22:38 +0000
commit864bdc2174ef996fa55ed5466ee6d7862873feda (patch)
tree874e6c77f07c532cbd4ba6da53db76fc9438ba8a /ace/Containers.h
parentae77e4c4d6c693f9c4fce9811a2b9a241477ea63 (diff)
downloadATCD-864bdc2174ef996fa55ed5466ee6d7862873feda.tar.gz
ChangeLog
Diffstat (limited to 'ace/Containers.h')
-rw-r--r--ace/Containers.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/ace/Containers.h b/ace/Containers.h
index ebcd904bb43..b42f820a524 100644
--- a/ace/Containers.h
+++ b/ace/Containers.h
@@ -17,6 +17,45 @@
#if !defined (ACE_CONTAINERS_H)
#define ACE_CONTAINERS_H
+#include "ace/OS.h"
+
+template <class T>
+class ACE_Double_Linked_List;
+
+template <class T>
+class ACE_Double_Linked_List_Iterator;
+
+class ACE_Export ACE_DLList_Node
+{
+ // = TITLE
+ // Base implementation of element in a DL list. Needed for
+ // ACE_Double_Linked_List.
+
+ friend class ACE_Double_Linked_List<ACE_DLList_Node>;
+ friend class ACE_Double_Linked_List_Iterator<ACE_DLList_Node>;
+
+public:
+ ACE_DLList_Node (void *&i,
+ ACE_DLList_Node *n = 0,
+ ACE_DLList_Node *p = 0);
+ ~ACE_DLList_Node (void);
+
+ ACE_ALLOC_HOOK_DECLARE;
+ // Declare the dynamic allocation hooks.
+
+ void *item_;
+
+ ACE_DLList_Node *next_;
+ ACE_DLList_Node *prev_;
+
+protected:
+ ACE_DLList_Node (void);
+};
+
+#if defined (__ACE_INLINE__)
+#include "ace/Containers.i"
+#endif /* __ACE_INLINE__ */
+
#include "ace/Containers_T.h"
#endif /* ACE_CONTAINERS_H */