Qt 4.8
Public Functions | List of all members
QJpUnicodeConv_Microsoft Class Reference
Inheritance diagram for QJpUnicodeConv_Microsoft:
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_Microsoft (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 609 of file qjpunicode.cpp.

Constructors and Destructors

◆ QJpUnicodeConv_Microsoft()

QJpUnicodeConv_Microsoft::QJpUnicodeConv_Microsoft ( int  r)
inline

Definition at line 611 of file qjpunicode.cpp.

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

Functions

◆ jisx0201LatinToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 628 of file qjpunicode.cpp.

629 {
630  return asciiToUnicode(h, l);
631 }
virtual uint asciiToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:103
QFactoryLoader * l

◆ jisx0208ToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 633 of file qjpunicode.cpp.

634 {
635  if (h == 0x21) {
636  if (l == 0x40) {
637  return 0xff3c;
638  } else if (l == 0x41) {
639  return 0xff5e;
640  } else if (l == 0x42) {
641  return 0x2225;
642  } else if (l == 0x5d) {
643  return 0xff0d;
644  } else if (l == 0x71) {
645  return 0xffe0;
646  } else if (l == 0x72) {
647  return 0xffe1;
648  }
649  } else if (h == 0x22) {
650  if (l == 0x4c) {
651  return 0xffe2;
652  }
653  }
655 }
virtual uint jisx0208ToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:143
QFactoryLoader * l

◆ jisx0212ToUnicode()

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

Reimplemented from QJpUnicodeConv.

Definition at line 657 of file qjpunicode.cpp.

658 {
659  if (h == 0x22) {
660  if (l == 0x37) {
661  return 0xff5e;
662  } else if (l == 0x43) {
663  return 0xffe4;
664  }
665  }
667 }
virtual uint jisx0212ToUnicode(uint h, uint l) const
Definition: qjpunicode.cpp:161
QFactoryLoader * l

◆ unicodeToJisx0201Latin()

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

Reimplemented from QJpUnicodeConv.

Definition at line 669 of file qjpunicode.cpp.

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

◆ unicodeToJisx0208()

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

Reimplemented from QJpUnicodeConv.

Definition at line 674 of file qjpunicode.cpp.

675 {
676 #ifdef Q_STRICT
677  if (((h == 0x00) && ((l == 0x5c) || (l == 0xa2) || (l == 0xa3) || (l == 0xac))) ||
678  ((h == 0x20) && (l == 0x16)) ||
679  ((h == 0x22) && (l == 0x12)) ||
680  ((h == 0x30) && (l == 0x1c))) {
681  return 0x0000;
682  }
683 #else
684  if ((h == 0x00) && (l == 0x5c)) {
685  return 0x0000;
686  }
687 #endif
688  if ((h == 0x22) && (l == 0x25)) {
689  return 0x2142;
690  } else if (h == 0xff) {
691  if (l == 0x0d) {
692  return 0x215d;
693  } else if (l == 0xe0) {
694  return 0x2171;
695  } else if (l == 0xe1) {
696  return 0x2172;
697  } else if (l == 0xe2) {
698  return 0x224c;
699  }
700  }
702 }
virtual uint unicodeToJisx0208(uint h, uint l) const
Definition: qjpunicode.cpp:221
QFactoryLoader * l

◆ unicodeToJisx0212()

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

Reimplemented from QJpUnicodeConv.

Definition at line 704 of file qjpunicode.cpp.

705 {
706 #ifdef Q_STRICT
707  if ((h == 0x00) && ((l == 0x7e) || (l == 0xa6))) {
708  return 0x0000;
709  }
710 #else
711  if ((h == 0x00) && (l == 0x7e)) {
712  return 0x0000;
713  }
714 #endif
715  if (h == 0xff) {
716  if (l == 0x5e) {
717  return 0x2237;
718  } else if (l == 0xe4) {
719  return 0x2243;
720  }
721  }
723 }
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: