summaryrefslogtreecommitdiff
path: root/ace/Containers_T.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Containers_T.h')
-rw-r--r--ace/Containers_T.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/ace/Containers_T.h b/ace/Containers_T.h
index fdbf7d6bec1..e2fc0e6ed06 100644
--- a/ace/Containers_T.h
+++ b/ace/Containers_T.h
@@ -36,6 +36,8 @@
// Backwards compatibility, please include "ace/Unbounded_Queue.h" directly.
#include "ace/Unbounded_Queue.h"
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
class ACE_Allocator;
@@ -1230,23 +1232,23 @@ public:
protected:
// = Initialization method.
ACE_Fixed_Set_Iterator_Base (ACE_Fixed_Set<T, ACE_SIZE> &s);
-
+
/// Set we are iterating over.
ACE_Fixed_Set<T, ACE_SIZE> &s_;
/// How far we've advanced over the set.
ssize_t next_;
-
+
/// The number of non free items that the iterator had pointed at.
size_t iterated_items_;
-
+
/// Dump the state of an object.
void dump_i (void) const;
-
+
/// Pass back the {next_item} that hasn't been seen in the Set.
/// Returns 0 when all items have been seen, else 1.
int next_i (T *&next_item);
-};
+};
/**
* @class ACE_Fixed_Set_Iterator
@@ -1271,12 +1273,12 @@ public:
/// Dump the state of an object.
void dump (void) const;
-
+
/// Remove the item where the itearetor is located at.
/// Returns 1 if it removes a item, else 0.
/// Pass back the removed {item}.
int remove (T *&item);
-
+
/// STL-like iterator dereference operator: returns a reference
/// to the node underneath the iterator.
T & operator* (void);
@@ -1307,7 +1309,7 @@ public:
/// Dump the state of an object.
void dump (void) const;
-
+
/// STL-like iterator dereference operator: returns a reference
/// to the node underneath the iterator.
const T & operator* (void) const ;
@@ -2005,6 +2007,8 @@ public:
bool operator!= (const ACE_Array<T> &s) const;
};
+ACE_END_VERSIONED_NAMESPACE_DECL
+
#if defined (__ACE_INLINE__)
#include "ace/Containers_T.inl"
#endif /* __ACE_INLINE__ */