📄 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 + -