http_headers.inl
来自「ace开发环境 用来开发网络程序 其运用了设计模式、多平台、C++等多种知识」· INL 代码 · 共 49 行
INL
49 行
// -*- c++ -*-// $Id: http_headers.inl 76118 2006-12-21 08:47:46Z johnnyw $#if !defined (ACE_HAS_INLINED_OSCALLS)# undef ACE_INLINE# define ACE_INLINE#endif /* ACE_HAS_INLINED_OSCALLS */ACE_INLINEHTTP_Hdr_Node::operator int (void) const{ return this->index_;}ACE_INLINEHTTP_Hdr_Node::operator const char * (void) const{ return this->token_;}ACE_INLINE const char *HTTP_Hdr_Node::format (void) const{ return this->format_;}ACE_INLINE const HTTP_Hdr_Node &HTTP_HCodes::hcode (int type) const{ const HTTP_Hdr_Node **hn = this->header_nodes_->find (type); // No error checking! return **hn;}ACE_INLINE const char *HTTP_Headers::header_token (int name) const{ const HTTP_Hdr_Node **hn = this->header_nodes_->find (name); return ((hn && *hn) ? (const char *)**hn : 0);}ACE_INLINE const char *HTTP_Headers::header_strings (int name) const{ const HTTP_Hdr_Node **hn = this->header_nodes_->find (name); return ((hn && *hn) ? (*hn)->format () : 0);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?