"Fossies" - the Fresh Open Source Software Archive

Member "classicu_1_1IDNAInfo.html" (3 Oct 2019, 12812 Bytes) of package /linux/misc/icu4c-65_1-docs.zip:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

ICU 65.1  65.1
Public Member Functions | Friends
icu::IDNAInfo Class Reference

Output container for IDNA processing errors. More...

#include <idna.h>

Inheritance diagram for icu::IDNAInfo:
icu::UMemory

Public Member Functions

 IDNAInfo ()
 Constructor for stack allocation. More...
 
UBool hasErrors () const
 Were there IDNA processing errors? More...
 
uint32_t getErrors () const
 Returns a bit set indicating IDNA processing errors. More...
 
UBool isTransitionalDifferent () const
 Returns TRUE if transitional and nontransitional processing produce different results. More...
 

Friends

class UTS46
 

Detailed Description

Output container for IDNA processing errors.

The IDNAInfo class is not suitable for subclassing.

Stable:
ICU 4.6

Definition at line 270 of file idna.h.

Constructor & Destructor Documentation

◆ IDNAInfo()

icu::IDNAInfo::IDNAInfo ( )
inline

Constructor for stack allocation.

Stable:
ICU 4.6

Definition at line 276 of file idna.h.

Member Function Documentation

◆ getErrors()

uint32_t icu::IDNAInfo::getErrors ( ) const
inline

Returns a bit set indicating IDNA processing errors.

See UIDNA_ERROR_... constants in uidna.h.

Returns
bit set of processing errors
Stable:
ICU 4.6

Definition at line 289 of file idna.h.

◆ hasErrors()

UBool icu::IDNAInfo::hasErrors ( ) const
inline

Were there IDNA processing errors?

Returns
TRUE if there were processing errors
Stable:
ICU 4.6

Definition at line 282 of file idna.h.

◆ isTransitionalDifferent()

UBool icu::IDNAInfo::isTransitionalDifferent ( ) const
inline

Returns TRUE if transitional and nontransitional processing produce different results.

This is the case when the input label or domain name contains one or more deviation characters outside a Punycode label (see UTS #46).

  • With nontransitional processing, such characters are copied to the destination string.
  • With transitional processing, such characters are mapped (sharp s/sigma) or removed (joiner/nonjoiner).
Returns
TRUE if transitional and nontransitional processing produce different results
Stable:
ICU 4.6

Definition at line 303 of file idna.h.

References FALSE, and TRUE.


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