summaryrefslogtreecommitdiff
path: root/ACE/ace/Read_Buffer.inl
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:30 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:30 +0000
commitc44379cc7d9c7aa113989237ab0f56db12aa5219 (patch)
tree66a84b20d47f2269d8bdc6e0323f338763424d3a /ACE/ace/Read_Buffer.inl
parent3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (diff)
downloadATCD-c44379cc7d9c7aa113989237ab0f56db12aa5219.tar.gz
Repo restructuring
Diffstat (limited to 'ACE/ace/Read_Buffer.inl')
-rw-r--r--ACE/ace/Read_Buffer.inl32
1 files changed, 32 insertions, 0 deletions
diff --git a/ACE/ace/Read_Buffer.inl b/ACE/ace/Read_Buffer.inl
new file mode 100644
index 00000000000..1517e9c17e3
--- /dev/null
+++ b/ACE/ace/Read_Buffer.inl
@@ -0,0 +1,32 @@
+// -*- C++ -*-
+//
+// $Id$
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+// Accessor to the number of bytes in the buffer.
+
+ACE_INLINE size_t
+ACE_Read_Buffer::size (void) const
+{
+ ACE_TRACE ("ACE_Read_Buffer::size");
+ return this->size_;
+}
+
+// The total number of characters replaced.
+
+ACE_INLINE size_t
+ACE_Read_Buffer::replaced (void) const
+{
+ ACE_TRACE ("ACE_Read_Buffer::replaced");
+ return this->occurrences_;
+}
+
+ACE_INLINE ACE_Allocator *
+ACE_Read_Buffer::alloc (void) const
+{
+ ACE_TRACE ("ACE_Read_Buffer::alloc");
+ return this->allocator_;
+}
+
+ACE_END_VERSIONED_NAMESPACE_DECL