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

📄 gplot_file.i

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 I
字号:
// GPlot_File.i,v 1.1 1998/02/19 00:37:00 coryan Exp

ACE_INLINE
ACE_GPlot_File::ACE_GPlot_File (void)
  : closed_ (1)
{
}


ACE_INLINE
ACE_GPlot_File::~ACE_GPlot_File (void)
{
  this->close ();
}


ACE_INLINE
void
ACE_GPlot_File::set_greatest (long entry, long value)
{
  long old_value;

  // If there was no previous value, or the <value> is greater than
  // the previous value, set a new value.
  if (this->get (entry, old_value) == -1 ||
      value > old_value)
    this->set (entry, value);
}


ACE_INLINE
void
ACE_GPlot_File::set_greatest (long entry, float value)
{
  float old_value;

  // If there was no previous value, or the <value> is greater than
  // the previous value, set a new value.
  if (this->get (entry, old_value) == -1 ||
      value > old_value)
    this->set (entry, value);
}


ACE_INLINE
void
ACE_GPlot_File::set_least (long entry, long value)
{
  long old_value;

  // If there was no previous value, or the <value> is less than
  // the previous value, set a new value.
  if (this->get (entry, old_value) == -1 ||
      value < old_value)
    this->set (entry, value);
}


ACE_INLINE
void
ACE_GPlot_File::set_least (long entry, float value)
{
  float old_value;

  // If there was no previous value, or the <value> is less than
  // the previous value, set a new value.
  if (this->get (entry, old_value) == -1 ||
      value < old_value)
    this->set (entry, value);
}

⌨️ 快捷键说明

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