Files
azerothcore-wotlk/dep/acelite/ace/IO_Cntl_Msg.inl
Yehonal e8e94a0a66 First Commit
For Azeroth!
2016-06-26 10:39:44 +02:00

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