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

Public Functions

uint jisx0201LatinToUnicode (uint h, uint l) const
 
uint jisx0208ToUnicode (uint h, uint l) const
 
uint jisx0212ToUnicode (uint h, uint l) const
 
 QJpUnicodeConv_JISX0221_ASCII (int r)
 
uint unicodeToJisx0201Latin (uint h, uint l) const
 
uint unicodeToJisx0208 (uint h, uint l) const
 
uint unicodeToJisx0212 (uint h, uint l) const
 
- Public Functions inherited from QJpUnicodeConv
virtual uint asciiToUnicode (uint h, uint l) const
 
uint asciiToUnicode (uint ascii) const
 
uint cp932ToUnicode (uint h, uint l) const
 
uint jisx0201KanaToUnicode (uint h, uint l) const
 
uint jisx0201KanaToUnicode (uint jis) const
 
uint jisx0201LatinToUnicode (uint jis) const
 
uint jisx0201ToUnicode (uint h, uint l) const
 
uint jisx0201ToUnicode (uint jis) const
 
uint jisx0208ToUnicode (uint jis) 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
 
virtual uint unicodeToAscii (uint h, uint l) 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
 
uint unicodeToJisx0201Latin (uint unicode) const
 
uint unicodeToJisx0208 (uint unicode) 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 428 of file qjpunicode.cpp.

Constructors and Destructors

◆ QJpUnicodeConv_JISX0221_ASCII()

QJpUnicodeConv_JISX0221_ASCII::QJpUnicodeConv_JISX0221_ASCII ( int  r)
inline

Definition at line 430 of file qjpunicode.cpp.

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

Functions

◆ jisx0201LatinToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 447 of file qjpunicode.cpp.

448 {
449  return asciiToUnicode(h, l);
450 }
virtual uint asciiToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:103
QFactoryLoader * l

◆ jisx0208ToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 452 of file qjpunicode.cpp.

453 {
454  if (h == 0x21) {
455  if (l == 0x31) {
456  return 0x203e;
457  } else if (l == 0x3d) {
458  return 0x02014;
459  } else if (l == 0x40) {
460  return 0xff3c;
461  } else if (l == 0x6f) {
462  return 0x00a5;
463  }
464  }
466 }
virtual uint jisx0208ToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:143
QFactoryLoader * l

◆ jisx0212ToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 468 of file qjpunicode.cpp.

469 {
470  if ((h == 0x22) && (l == 0x37)) {
471  return 0xff5e;
472  }
474 }
virtual uint jisx0212ToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:161
QFactoryLoader * l

◆ unicodeToJisx0201Latin()

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

Reimplemented from QJpUnicodeConv.

Definition at line 476 of file qjpunicode.cpp.

477 {
479 }
QFactoryLoader * l
virtual uint unicodeToAscii(uint h, uint l) const
Definition: qjpunicode.cpp:180

◆ unicodeToJisx0208()

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

Reimplemented from QJpUnicodeConv.

Definition at line 481 of file qjpunicode.cpp.

482 {
483 #ifdef Q_STRICT
484  if (((h == 0x00) && (l == 0x5c)) ||
485  ((h == 0x20) && (l == 0x15)) ||
486  ((h == 0xff) && ((l == 0xe3) || (l == 0xe5)))) {
487  return 0x0000;
488  }
489 #else
490  if ((h == 0x00) && (l == 0x5c)) {
491  return 0x0000;
492  }
493 #endif
494  if ((h == 0x00) && (l == 0xa5)) {
495  return 0x216f;
496  } else if (h == 0x20) {
497  if (l == 0x14) {
498  return 0x213d;
499  } else if (l == 0x3e) {
500  return 0x2131;
501  }
502  }
504 }
virtual uint unicodeToJisx0208(uint h, uint l) const
Definition: qjpunicode.cpp:221
QFactoryLoader * l

◆ unicodeToJisx0212()

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

Reimplemented from QJpUnicodeConv.

Definition at line 507 of file qjpunicode.cpp.

508 {
509  if ((h == 0x00) && (l == 0x7e)) {
510  return 0x0000;
511  }
512  if ((h == 0xff) && (l == 0x5e)) {
513  return 0x2237;
514  }
516 }
virtual uint unicodeToJisx0212(uint h, uint l) const
Definition: qjpunicode.cpp:242
QFactoryLoader * l

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