server/dep/acelite/ace/Read_Buffer.inl
Salja f4be15a7af Some missing from merge.
Signed-off-by: Salja <salja2012@hotmail.de>
2020-02-16 02:50:23 +00:00

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