[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / Containers.h
blobecff8e368e467b6a3c3f4b41f4612661852def47
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Containers.h
7 * $Id: Containers.h 80826 2008-03-04 14:51:23Z wotte $
9 * @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
11 //=============================================================================
13 #ifndef ACE_CONTAINERS_H
14 #define ACE_CONTAINERS_H
16 #include /**/ "ace/pre.h"
18 #include /**/ "ace/ACE_export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 # pragma once
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
26 template <class T> class ACE_Double_Linked_List;
27 template <class T> class ACE_Double_Linked_List_Iterator_Base;
28 template <class T> class ACE_Double_Linked_List_Iterator;
29 template <class T> class ACE_Double_Linked_List_Reverse_Iterator;
31 /**
32 * @class ACE_DLList_Node
34 * @brief Base implementation of element in a DL list. Needed for
35 * ACE_Double_Linked_List.
37 class ACE_Export ACE_DLList_Node
39 public:
40 friend class ACE_Double_Linked_List<ACE_DLList_Node>;
41 friend class ACE_Double_Linked_List_Iterator_Base<ACE_DLList_Node>;
42 friend class ACE_Double_Linked_List_Iterator<ACE_DLList_Node>;
43 friend class ACE_Double_Linked_List_Reverse_Iterator<ACE_DLList_Node>;
45 ACE_DLList_Node (void *i,
46 ACE_DLList_Node *n = 0,
47 ACE_DLList_Node *p = 0);
49 /// Declare the dynamic allocation hooks.
50 ACE_ALLOC_HOOK_DECLARE;
52 void *item_;
54 ACE_DLList_Node *next_;
55 ACE_DLList_Node *prev_;
57 protected:
58 ACE_DLList_Node (void);
61 ACE_END_VERSIONED_NAMESPACE_DECL
63 #if defined (__ACE_INLINE__)
64 #include "ace/Containers.inl"
65 #endif /* __ACE_INLINE__ */
67 #include "ace/Containers_T.h"
69 #include /**/ "ace/post.h"
71 #endif /* ACE_CONTAINERS_H */