options.inl

来自「ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识」· INL 代码 · 共 142 行

INL
142
字号
/* -*- C++ -*- */// $Id: Options.inl 73790 2006-07-27 20:43:46Z wotte $/* Option manager for ustreams */// Since this is only included in Options.h these should stay// inline, not ACE_INLINE.// FUZZ: disable check_for_inlineinline void   Options::supplier_port (u_short port){  this->supplier_port_ = port;}inline u_shortOptions::supplier_port (void){  return this->supplier_port_;}inline void   Options::consumer_port (u_short port){  this->consumer_port_ = port;}inline u_shortOptions::consumer_port (void){  return this->consumer_port_;}inline voidOptions::start_timer (void){  this->itimer_.start ();}inline voidOptions::stop_timer (void){  this->itimer_.stop ();}inline voidOptions::thr_count (size_t count){  this->thr_count_ = count;}inline size_tOptions::thr_count (void){  return this->thr_count_;}inline void Options::initial_queue_length (size_t length){  this->initial_queue_length_ = length;}inline size_t  Options::initial_queue_length (void){  return this->initial_queue_length_;}inline void Options::high_water_mark (size_t size){  this->high_water_mark_ = size;}inline size_t  Options::high_water_mark (void){  return this->high_water_mark_;}inline void Options::low_water_mark (size_t size){  this->low_water_mark_ = size;}inline size_t  Options::low_water_mark (void){  return this->low_water_mark_;}inline void Options::message_size (size_t size){  this->message_size_ = size;}inline size_t  Options::message_size (void){  return this->message_size_;}inline void Options::iterations (size_t n){  this->iterations_ = n;}inline size_tOptions::iterations (void){  return this->iterations_;}inline void Options::t_flags (long flag){  this->t_flags_ |= flag;}inline longOptions::t_flags (void){  return this->t_flags_;}inline int Options::debug (void){  return this->debugging_;}inline int Options::verbose (void){  return this->verbosity_;}

⌨️ 快捷键说明

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