?? ordertype.i
字號:
/***********************************************************************
IEEE 1516.1 High Level Architecture Interface Specification C++ API
File: RTI/OrderType.i
***********************************************************************/
RTI_INLINE
RTI::OrderType::
OrderType(unsigned orderType)
throw()
: _orderType(orderType)
{
}
RTI_INLINE
RTI::OrderType::
OrderType(OrderType const & rhs)
throw()
: _orderType(rhs._orderType)
{
}
RTI_INLINE
RTI::OrderType const
RTI::OrderType::
receive()
throw()
{
return 1;
}
RTI_INLINE
RTI::OrderType const
RTI::OrderType::
timestamp() throw()
{
return 2;
}
RTI_INLINE
RTI::OrderType &
RTI::OrderType::
operator=(OrderType const & rhs)
throw()
{
if (this != &rhs)
{
_orderType = rhs._orderType;
}
return *this;
}
RTI_INLINE
bool
RTI::OrderType::
operator==(OrderType const & rhs) const
throw()
{
return ((_orderType == rhs._orderType) ? true : false);
}
RTI_INLINE
bool
RTI::OrderType::
operator!=(OrderType const & rhs) const
throw()
{
return ((_orderType != rhs._orderType) ? true : false);
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -