Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

encodings.h File Reference

Definition of macros and types relative to character encodings. More...

#include "defs.h"

Go to the source code of this file.

Namespaces

namespace  Encodings

Defines

#define ENCODING_NAMES
 List of encoding names. More...

#define LIST_ENCODINGS
 List the names of the encodings. More...


Detailed Description

Definition of macros and types relative to character encodings.

This file contains definitions of types and macros that are relevant to character encodings.

Definition in file encodings.h.


Define Documentation

#define ENCODING_NAMES
 

Value:

{"UTF-8", Encodings::UTF_8},                                    \
{"UTF-16", Encodings::UTF_16},                                  \
{"US-ASCII", Encodings::US_ASCII},                              \
{"ISO-8859-1", Encodings::ISO_8859_1},                          \
{"ISO-8859-2", Encodings::ISO_8859_2},                          \
{"ISO-8859-3", Encodings::ISO_8859_3},                          \
{"ISO-8859-4", Encodings::ISO_8859_4},                          \
{"ISO-8859-5", Encodings::ISO_8859_5},                          \
{"ISO-8859-6", Encodings::ISO_8859_6},                          \
{"ISO-8859-7", Encodings::ISO_8859_7},                          \
{"ISO-8859-8", Encodings::ISO_8859_8},                          \
{"ISO-8859-9", Encodings::ISO_8859_9},                          \
{"ISO-8859-10", Encodings::ISO_8859_10},                        \
{"ISO-8859-11", Encodings::ISO_8859_11},                        \
{"ISO-8859-13", Encodings::ISO_8859_13},                        \
{"ISO-8859-14", Encodings::ISO_8859_14},                        \
{"ISO-8859-15", Encodings::ISO_8859_15},                        \
{"CP-1250", Encodings::CP_1250},                                \
{"CP-1251", Encodings::CP_1251},                                \
{"CP-1252", Encodings::CP_1252},                                \
{"CP-1253", Encodings::CP_1253},                                \
{"CP-1254", Encodings::CP_1254},                                \
{"CP-1255", Encodings::CP_1255},                                \
{"CP-1256", Encodings::CP_1256},                                \
{"CP-1257", Encodings::CP_1257},                                \
{"CP-1258", Encodings::CP_1258},                                \
{"KOI8-R", Encodings::KOI8_R},                                  \
{"KOI8-V", Encodings::KOI8_V},                                  \
                        \
{0, Encodings::Unknown}
List of encoding names.

To be used for the initialization of an encoding names array.

Definition at line 98 of file encodings.h.

Referenced by TextCodec::knowsMIB, and main.

#define LIST_ENCODINGS
 

Value:

{                                                               \
  Encodings::EncodingName encodingNames[] = { ENCODING_NAMES }; \
  size_t i = 0;                                                 \
                                                                \
  while (encodingNames[i].name && encodingNames[i+1].name)      \
    {                                                           \
      OUTPUT(encodingNames[i].name << ", ");                    \
      i++;                                                      \
    }                                                           \
  if (encodingNames[i].name)                                    \
    {                                                           \
      OUTPUTNL(encodingNames[i].name);                          \
    }                                                           \
}
List the names of the encodings.

Displays a comma-separated list of encoding names.

Definition at line 137 of file encodings.h.

Referenced by main.


Generated on Wed Feb 5 10:43:03 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002