Qt 4.8
Public Functions | List of all members
QJpUnicodeConv_Sun Class Reference
Inheritance diagram for QJpUnicodeConv_Sun:
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_Sun (int r)
 
uint unicodeToAscii (uint h, uint l) const
 
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
 
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 522 of file qjpunicode.cpp.

Constructors and Destructors

◆ QJpUnicodeConv_Sun()

QJpUnicodeConv_Sun::QJpUnicodeConv_Sun ( int  r)
inline

Definition at line 524 of file qjpunicode.cpp.

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

Functions

◆ jisx0201LatinToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 541 of file qjpunicode.cpp.

542 {
543  return asciiToUnicode(h, l);
544 }
virtual uint asciiToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:103
QFactoryLoader * l

◆ jisx0208ToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 546 of file qjpunicode.cpp.

547 {
548  if ((h == 0x21) && (l == 0x40)) {
549  return 0xff3c;
550  }
552 }
virtual uint jisx0208ToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:143
QFactoryLoader * l

◆ jisx0212ToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 554 of file qjpunicode.cpp.

555 {
556 #if 1
557  // Added by Serika Kususugawa to avoid conflict on U+007c.
558  if ((h == 0x22) && (l == 0x37)) {
559  return 0xff5e;
560  }
561 #endif
563 }
virtual uint jisx0212ToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:161
QFactoryLoader * l

◆ unicodeToAscii()

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

Reimplemented from QJpUnicodeConv.

Definition at line 565 of file qjpunicode.cpp.

566 {
567  if ((h == 0x00) && (l == 0xa5)) {
568  return 0x005c;
569  } else if ((h == 0x20) && (l == 0x3e)) {
570  return 0x007e;
571  }
573 }
QFactoryLoader * l
virtual uint unicodeToAscii(uint h, uint l) const
Definition: qjpunicode.cpp:180

◆ unicodeToJisx0201Latin()

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

Reimplemented from QJpUnicodeConv.

Definition at line 575 of file qjpunicode.cpp.

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

◆ unicodeToJisx0208()

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

Reimplemented from QJpUnicodeConv.

Definition at line 580 of file qjpunicode.cpp.

581 {
582  if ((h == 0x00) && (l == 0xa5)) {
583  return 0x0000;
584  } else if ((h == 0x20) && (l == 0x3e)) {
585  return 0x0000;
586  }
588 }
virtual uint unicodeToJisx0208(uint h, uint l) const
Definition: qjpunicode.cpp:221
QFactoryLoader * l

◆ unicodeToJisx0212()

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

Reimplemented from QJpUnicodeConv.

Definition at line 591 of file qjpunicode.cpp.

592 {
593 #if 1
594  // Added by Serika Kususugawa to avoid conflict on U+007c.
595  if ((h == 0x00) && (l == 0x7e)) {
596  return 0x0000;
597  }
598  if ((h == 0xff) && (l == 0x5e)) {
599  return 0x2237;
600  }
601 #endif
603 }
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: