Logo Search packages:      
Sourcecode: icu version File versions  Download package

IDNA Class Reference

#include <idna.h>

Inheritance diagram for IDNA:
Collaboration diagram for IDNA:

List of all members.

Public Member Functions

virtual UnicodeStringlabelToASCII (const UnicodeString &label, UnicodeString &dest, IDNAInfo &info, UErrorCode &errorCode) const =0
virtual void labelToASCII_UTF8 (const StringPiece &label, ByteSink &dest, IDNAInfo &info, UErrorCode &errorCode) const
virtual UnicodeStringlabelToUnicode (const UnicodeString &label, UnicodeString &dest, IDNAInfo &info, UErrorCode &errorCode) const =0
virtual void labelToUnicodeUTF8 (const StringPiece &label, ByteSink &dest, IDNAInfo &info, UErrorCode &errorCode) const
virtual UnicodeStringnameToASCII (const UnicodeString &name, UnicodeString &dest, IDNAInfo &info, UErrorCode &errorCode) const =0
virtual void nameToASCII_UTF8 (const StringPiece &name, ByteSink &dest, IDNAInfo &info, UErrorCode &errorCode) const
virtual UnicodeStringnameToUnicode (const UnicodeString &name, UnicodeString &dest, IDNAInfo &info, UErrorCode &errorCode) const =0
virtual void nameToUnicodeUTF8 (const StringPiece &name, ByteSink &dest, IDNAInfo &info, UErrorCode &errorCode) const

Static Public Member Functions

static IDNAcreateUTS46Instance (uint32_t options, UErrorCode &errorCode)
static void U_EXPORT2 operator delete (void *p) U_NO_THROW
static void U_EXPORT2 operator delete (void *, void *) U_NO_THROW
static void U_EXPORT2 operator delete[] (void *p) U_NO_THROW
static void *U_EXPORT2 operator new (size_t size) U_NO_THROW
static void *U_EXPORT2 operator new (size_t, void *ptr) U_NO_THROW
static void *U_EXPORT2 operator new[] (size_t size) U_NO_THROW

Private Member Functions

virtual UClassID getDynamicClassID () const

Detailed Description

Abstract base class for IDNA processing. See http://www.unicode.org/reports/tr46/ and http://www.ietf.org/rfc/rfc3490.txt

The IDNA class is not intended for public subclassing.

This C++ API currently only implements UTS #46. The uidna.h C API implements both UTS #46 (functions using UIDNA service object) and IDNA2003 (functions that do not use a service object). ICU 4.6

Definition at line 48 of file idna.h.


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

Generated by  Doxygen 1.6.0   Back to index