mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
62 lines
825 B
C++
62 lines
825 B
C++
// -*- C++ -*-
|
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
|
|
|
ACE_INLINE
|
|
ACE_IO_Cntl_Msg::ACE_IO_Cntl_Msg (ACE_IO_Cntl_Cmds c) :
|
|
cmd_ (c),
|
|
count_ (0),
|
|
error_ (0),
|
|
rval_ (0)
|
|
{
|
|
}
|
|
|
|
ACE_INLINE ACE_IO_Cntl_Msg::ACE_IO_Cntl_Cmds
|
|
ACE_IO_Cntl_Msg::cmd (void)
|
|
{
|
|
return this->cmd_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::cmd (ACE_IO_Cntl_Cmds c)
|
|
{
|
|
this->cmd_ = c;
|
|
}
|
|
|
|
ACE_INLINE size_t
|
|
ACE_IO_Cntl_Msg::count (void)
|
|
{
|
|
return this->count_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::count (size_t c)
|
|
{
|
|
this->count_ = c;
|
|
}
|
|
|
|
ACE_INLINE int
|
|
ACE_IO_Cntl_Msg::error (void)
|
|
{
|
|
return this->error_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::error (int e)
|
|
{
|
|
this->error_ = e;
|
|
}
|
|
|
|
ACE_INLINE int
|
|
ACE_IO_Cntl_Msg::rval (void)
|
|
{
|
|
return this->rval_;
|
|
}
|
|
|
|
ACE_INLINE void
|
|
ACE_IO_Cntl_Msg::rval (int r)
|
|
{
|
|
this->rval_ = r;
|
|
}
|
|
|
|
ACE_END_VERSIONED_NAMESPACE_DECL
|