mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
32 lines
631 B
C++
32 lines
631 B
C++
// -*- C++ -*-
|
|
//
|
|
// $Id: Read_Buffer.inl 80826 2008-03-04 14:51:23Z wotte $
|
|
|
|
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
|