⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rangebounds.i

📁 pRTI 自带的include文件包
💻 I
字号:
/***********************************************************************
  IEEE 1516.1 High Level Architecture Interface Specification C++ API
  File: RTI/RangeBounds.i
***********************************************************************/

RTI_INLINE
RTI::RangeBounds::
RangeBounds()
: _lowerBound(0),
  _upperBound(1)
{
}

RTI_INLINE
RTI::RangeBounds::
RangeBounds(unsigned long lowerBound,
            unsigned long upperBound)
: _lowerBound(lowerBound),
  _upperBound(upperBound)
{
}

RTI_INLINE
RTI::RangeBounds::
~RangeBounds()
  throw ()
{
}

RTI_INLINE
RTI::RangeBounds::
RangeBounds(RangeBounds const & rhs)
: _lowerBound(rhs._lowerBound),
  _upperBound(rhs._upperBound)
{
}

RTI_INLINE
RTI::RangeBounds &
RTI::RangeBounds::
operator=(RangeBounds const & rhs)
{
  if (this != &rhs)
  {
    _lowerBound = rhs._lowerBound;
    _upperBound = rhs._upperBound;
  }
  return *this;
}

RTI_INLINE
unsigned long
RTI::RangeBounds::
getLowerBound() const
{
  return _lowerBound;
}

RTI_INLINE
unsigned long
RTI::RangeBounds::
getUpperBound() const
{
  return _upperBound;
}

RTI_INLINE
void
RTI::RangeBounds::
setLowerBound(unsigned long lowerBound)
{
  _lowerBound = lowerBound;
}

RTI_INLINE
void
RTI::RangeBounds::
setUpperBound(unsigned long upperBound)
{
  _upperBound = upperBound;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -