aboutsummaryrefslogtreecommitdiff
path: root/dep/ACE_wrappers/ace/Node.h
diff options
context:
space:
mode:
authormaximius <none@none>2009-10-17 15:51:44 -0700
committermaximius <none@none>2009-10-17 15:51:44 -0700
commite585187b248f48b3c6e9247b49fa07c6565d65e5 (patch)
tree637c5b7ddacf41040bef4ea4f75a97da64c6a9bc /dep/ACE_wrappers/ace/Node.h
parent26b5e033ffde3d161382fc9addbfa99738379641 (diff)
*Backed out changeset 3be01fb200a5
--HG-- branch : trunk
Diffstat (limited to 'dep/ACE_wrappers/ace/Node.h')
-rw-r--r--dep/ACE_wrappers/ace/Node.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/Node.h b/dep/ACE_wrappers/ace/Node.h
index db4d7eaf27e..bf47b15915b 100644
--- a/dep/ACE_wrappers/ace/Node.h
+++ b/dep/ACE_wrappers/ace/Node.h
@@ -1,4 +1,5 @@
// -*- C++ -*-
+
//=============================================================================
/**
* @file Node.h
@@ -9,14 +10,19 @@
*/
//=============================================================================
+
#ifndef ACE_NODE_H
#define ACE_NODE_H
#include /**/ "ace/pre.h"
+
#include /**/ "ace/config-all.h"
+
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
// Forward declarations.
template <class T, class C> class ACE_Unbounded_Set_Ex;
template <class T, class C> class ACE_Unbounded_Set_Ex_Iterator;
@@ -26,6 +32,7 @@ template <class T> class ACE_Unbounded_Queue_Iterator;
template <class T> class ACE_Unbounded_Queue_Const_Iterator;
template <class T> class ACE_Unbounded_Stack;
template <class T> class ACE_Unbounded_Stack_Iterator;
+
/**
* @class ACE_Node
*
@@ -43,8 +50,10 @@ public:
friend class ACE_Unbounded_Set_Ex_Const_Iterator<T, C>;
friend class ACE_Unbounded_Stack<T>;
friend class ACE_Unbounded_Stack_Iterator<T>;
+
/// This isn't necessary, but it keeps some compilers happy.
~ACE_Node (void);
+
private:
// = Initialization methods
ACE_Node (const T &i, ACE_Node<T, C> *n);
@@ -53,19 +62,25 @@ private:
private:
/// Not possible
void operator= (const ACE_Node<T, C> &);
+
private:
/// Pointer to next element in the list of ACE_Nodes.
ACE_Node<T, C> *next_;
+
/// Current value of the item in this node.
T item_;
};
+
ACE_END_VERSIONED_NAMESPACE_DECL
+
#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
#include "ace/Node.cpp"
#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
+
#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
#pragma implementation ("Node.cpp")
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
+
#include /**/ "ace/post.h"
#endif /* ACE_NODE_H */