Qt 4.8
Public Functions | List of all members
QJpUnicodeConv_JISX0221_JISX0201 Class Reference
Inheritance diagram for QJpUnicodeConv_JISX0221_JISX0201:
QJpUnicodeConv

Public Functions

uint asciiToUnicode (uint h, uint l) const
 
uint jisx0208ToUnicode (uint h, uint l) const
 
 QJpUnicodeConv_JISX0221_JISX0201 (int r)
 
uint unicodeToAscii (uint h, uint l) const
 
uint unicodeToJisx0208 (uint h, uint l) const
 
- Public Functions inherited from QJpUnicodeConv
uint asciiToUnicode (uint ascii) const
 
uint cp932ToUnicode (uint h, uint l) const
 
uint jisx0201KanaToUnicode (uint h, uint l) const
 
uint jisx0201KanaToUnicode (uint jis) const
 
virtual uint jisx0201LatinToUnicode (uint h, uint l) const
 
uint jisx0201LatinToUnicode (uint jis) const
 
uint jisx0201ToUnicode (uint h, uint l) const
 
uint jisx0201ToUnicode (uint jis) const
 
uint jisx0208ToUnicode (uint jis) const
 
virtual uint jisx0212ToUnicode (uint h, uint l) const
 
uint jisx0212ToUnicode (uint jis) const
 
uint sjisibmvdcToUnicode (uint h, uint l) const
 
uint sjisToUnicode (uint h, uint l) const
 
uint sjisToUnicode (uint sjis) const
 
uint unicodeToAscii (uint unicode) const
 
uint unicodeToCp932 (uint h, uint l) const
 
uint unicodeToJisx0201 (uint h, uint l) const
 
uint unicodeToJisx0201 (uint unicode) const
 
uint unicodeToJisx0201Kana (uint h, uint l) const
 
uint unicodeToJisx0201Kana (uint unicode) const
 
virtual uint unicodeToJisx0201Latin (uint h, uint l) const
 
uint unicodeToJisx0201Latin (uint unicode) const
 
uint unicodeToJisx0208 (uint unicode) const
 
virtual uint unicodeToJisx0212 (uint h, uint l) const
 
uint unicodeToJisx0212 (uint unicode) const
 
uint unicodeToSjis (uint h, uint l) const
 
uint unicodeToSjis (uint unicode) const
 
uint unicodeToSjisibmvdc (uint h, uint l) const
 
virtual ~QJpUnicodeConv ()
 

Additional Inherited Members

- Public Types inherited from QJpUnicodeConv
enum  Rules {
  Default = 0x0000, Unicode = 0x0001, Unicode_JISX0201 = 0x0001, Unicode_ASCII = 0x0002,
  JISX0221_JISX0201 = 0x0003, JISX0221_ASCII = 0x0004, Sun_JDK117 = 0x0005, Microsoft_CP932 = 0x0006,
  NEC_VDC = 0x0100, UDC = 0x0200, IBM_VDC = 0x0400
}
 
- Static Public Functions inherited from QJpUnicodeConv
static QJpUnicodeConvnewConverter (int rule)
 
- Protected Functions inherited from QJpUnicodeConv
 QJpUnicodeConv (int r)
 

Detailed Description

Definition at line 374 of file qjpunicode.cpp.

Constructors and Destructors

◆ QJpUnicodeConv_JISX0221_JISX0201()

QJpUnicodeConv_JISX0221_JISX0201::QJpUnicodeConv_JISX0221_JISX0201 ( int  r)
inline

Definition at line 376 of file qjpunicode.cpp.

376 : QJpUnicodeConv(r) {}
QJpUnicodeConv(int r)
Definition: qjpunicode.h:166

Functions

◆ asciiToUnicode()

uint QJpUnicodeConv_JISX0221_JISX0201::asciiToUnicode ( uint  h,
uint  l 
) const
virtual
Warning
This function is not part of the public interface.

Reimplemented from QJpUnicodeConv.

Definition at line 393 of file qjpunicode.cpp.

394 {
395  return jisx0201LatinToUnicode(h, l);
396 }
virtual uint jisx0201LatinToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:125
QFactoryLoader * l

◆ jisx0208ToUnicode()

uint QJpUnicodeConv_JISX0221_JISX0201::jisx0208ToUnicode ( uint  h,
uint  l 
) const
virtual
Warning
This function is not part of the public interface.

Reimplemented from QJpUnicodeConv.

Definition at line 398 of file qjpunicode.cpp.

399 {
400  if ((h == 0x21) && (l == 0x3d)) {
401  return 0x2014;
402  }
404 }
virtual uint jisx0208ToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:143
QFactoryLoader * l

◆ unicodeToAscii()

uint QJpUnicodeConv_JISX0221_JISX0201::unicodeToAscii ( uint  h,
uint  l 
) const
virtual
Warning
This function is not part of the public interface.

Reimplemented from QJpUnicodeConv.

Definition at line 406 of file qjpunicode.cpp.

407 {
408  return unicodeToJisx0201Latin(h, l);
409 }
QFactoryLoader * l
virtual uint unicodeToJisx0201Latin(uint h, uint l) const
Definition: qjpunicode.cpp:201

◆ unicodeToJisx0208()

uint QJpUnicodeConv_JISX0221_JISX0201::unicodeToJisx0208 ( uint  h,
uint  l 
) const
virtual
Warning
This function is not part of the public interface.

Reimplemented from QJpUnicodeConv.

Definition at line 411 of file qjpunicode.cpp.

412 {
413 #ifdef Q_STRICT
414  if ((h == 0x20) && (l == 0x15)) {
415  return 0x0000;
416  }
417 #endif
418  if ((h == 0x20) && (l == 0x14)) {
419  return 0x213d;
420  }
422 }
virtual uint unicodeToJisx0208(uint h, uint l) const
Definition: qjpunicode.cpp:221
QFactoryLoader * l

The documentation for this class was generated from the following file: