sbinetstring.hpp

来自「sloedgy open sip stack source code」· HPP 代码 · 共 45 行

HPP
45
字号

 /****************License************************************************
  *
  * Copyright 2000-2003.  ScanSoft, Inc.    
  *
  * Use of this software is subject to notices and obligations set forth 
  * in the SpeechWorks Public License - Software Version 1.2 which is 
  * included with this software. 
  *
  * ScanSoft is a registered trademark of ScanSoft, Inc., and OpenSpeech, 
  * SpeechWorks and the SpeechWorks logo are registered trademarks or 
  * trademarks of SpeechWorks International, Inc. in the United States 
  * and other countries.
  *
  ***********************************************************************/
 

 // -----1=0-------2=0-------3=0-------4=0-------5=0-------6=0-------7=0-------8
 
 #ifndef _SBINET_STRING_H__
 #define _SBINET_STRING_H__
 
#include <vxibuildopts.h>
#if P_VXI

 #include "SBinetInternal.h"
 #include "vxi/VXItypes.h"
 
 // Utility method for end users to convert wide to narrow characters
 // (characters that cannot be converted become a Latin-1 upside down ?
 // character), not used here
 inline char SBinetW2C(wchar_t w)
 {
   return ((w & 0xff00)?'\277':((unsigned char) (w & 0x00ff)));
 }
 
 #ifdef NO_STL
 #include "SBinetStringNoSTL.hpp"
 #else
 #include "SBinetStringSTL.hpp"
 #endif
 
#endif //P_VXI
 #endif  /* include guard */

⌨️ 快捷键说明

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