charsetregistry.h

来自「SP是一个基于GNU C++编译器」· C头文件 代码 · 共 60 行

H
60
字号
// Copyright (c) 1997 James Clark// See the file COPYING for copying permission.#ifndef CharsetRegistry_INCLUDED#define CharsetRegistry_INCLUDED 1#ifdef __GNUG__#pragma interface#endif#include "Boolean.h"#include "types.h"#include "StringC.h"#include "CharsetInfo.h"#ifdef SP_NAMESPACEnamespace SP_NAMESPACE {#endifclass SP_API CharsetRegistry {public:  class SP_API Iter {  public:    virtual ~Iter();    virtual Boolean next(WideChar &min, WideChar &max, UnivChar &) = 0;  };  enum ISORegistrationNumber {    UNREGISTERED = 0,    ISO646_ASCII_G0 = 6,    ISO646_C0 = 1,    ISO6429 = 77,    ISO8859_1 = 100,    ISO8859_2 = 101,    ISO8859_3 = 109,    ISO8859_4 = 110,    ISO8859_5 = 144,    ISO8859_6 = 127,    ISO8859_7 = 126,    ISO8859_8 = 138,    ISO8859_9 = 148,    ISO646_JIS_G0 = 14,    JIS0201 = 13,    JIS0208 = 168,    JIS0212 = 159,    KSC5601 = 149,    GB2312 = 58,    ISO10646_UCS2 = 176,    ISO10646_UCS4 = 177,    BIG5 = 65535 // not registered  };  static ISORegistrationNumber getRegistrationNumber(const StringC &desig,						     const CharsetInfo &);  static Iter *makeIter(ISORegistrationNumber);};#ifdef SP_NAMESPACE}#endif#endif /* not CharsetRegistry_INCLUDED */

⌨️ 快捷键说明

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