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