Files
TCPlayerbotCore/dep/ACE_wrappers/ace/Read_Buffer.inl
T
maximius 26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00

26 lines
624 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