diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
commit | c44379cc7d9c7aa113989237ab0f56db12aa5219 (patch) | |
tree | 66a84b20d47f2269d8bdc6e0323f338763424d3a /ACE/ace/Stream.inl | |
parent | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (diff) | |
download | ATCD-c44379cc7d9c7aa113989237ab0f56db12aa5219.tar.gz |
Repo restructuring
Diffstat (limited to 'ACE/ace/Stream.inl')
-rw-r--r-- | ACE/ace/Stream.inl | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ACE/ace/Stream.inl b/ACE/ace/Stream.inl new file mode 100644 index 00000000000..24ff6840431 --- /dev/null +++ b/ACE/ace/Stream.inl @@ -0,0 +1,51 @@ +// -*- C++ -*- +// +// $Id$ + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template <ACE_SYNCH_DECL> ACE_INLINE ACE_Module<ACE_SYNCH_USE> * +ACE_Stream<ACE_SYNCH_USE>::head (void) +{ + ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::head"); + return this->stream_head_; +} + +template <ACE_SYNCH_DECL> ACE_INLINE ACE_Module<ACE_SYNCH_USE> * +ACE_Stream<ACE_SYNCH_USE>::tail (void) +{ + ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::tail"); + return this->stream_tail_; +} + +template <ACE_SYNCH_DECL> ACE_INLINE int +ACE_Stream<ACE_SYNCH_USE>::wait (void) +{ + ACE_TRACE ("ACE_Stream<ACE_SYNCH_USE>::wait"); + return this->final_close_.wait (); +} + +template <ACE_SYNCH_DECL> ACE_INLINE int +ACE_Stream_Iterator<ACE_SYNCH_USE>::next (const ACE_Module<ACE_SYNCH_USE> *&mod) +{ + ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::next"); + mod = this->next_; + return this->next_ != 0; +} + +template <ACE_SYNCH_DECL> ACE_INLINE int +ACE_Stream_Iterator<ACE_SYNCH_USE>::done (void) const +{ + ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::done"); + return this->next_ == 0; +} + +template <ACE_SYNCH_DECL> int +ACE_Stream_Iterator<ACE_SYNCH_USE>::advance (void) +{ + ACE_TRACE ("ACE_Stream_Iterator<ACE_SYNCH_USE>::advance"); + this->next_ = this->next_->next (); + return this->next_ != 0; +} + +ACE_END_VERSIONED_NAMESPACE_DECL |