summaryrefslogtreecommitdiff
path: root/ace/Stream.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-04 22:05:57 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-04 22:05:57 +0000
commitab19ac45d182225dcc99bb26692fdc5c1a23b2c6 (patch)
treefede1668935d2b7eb674eea741c54d6f2dd13743 /ace/Stream.i
parent9d603c20f7f8fe88de6493efbe0ecc42e3922f7d (diff)
downloadATCD-ab19ac45d182225dcc99bb26692fdc5c1a23b2c6.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Stream.i')
-rw-r--r--ace/Stream.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/ace/Stream.i b/ace/Stream.i
index 368eec8d858..9406b02fb26 100644
--- a/ace/Stream.i
+++ b/ace/Stream.i
@@ -31,3 +31,19 @@ ACE_Stream_Iterator<ACE_SYNCH_2>::next (const ACE_Module<ACE_SYNCH_2> *&mod)
mod = this->next_;
return this->next_ != 0;
}
+
+template <ACE_SYNCH_1> ACE_INLINE int
+ACE_Stream_Iterator<ACE_SYNCH_2>::done (void) const
+{
+ ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_2>::done");
+ return this->next_ == 0;
+}
+
+template <ACE_SYNCH_1> int
+ACE_Stream_Iterator<ACE_SYNCH_2>::advance (void)
+{
+ ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_2>::advance");
+ this->next_ = this->next_->next ();
+ return this->next_ != 0;
+}
+