Movatterモバイル変換


[0]ホーム

URL:


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

Output container forIDNA processing errors.More...

#include <idna.h>

Inheritance diagram for icu::IDNAInfo:

Public Member Functions

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

Friends

class UTS46
 

Detailed Description

Output container forIDNA processing errors.

TheIDNAInfo class is not suitable for subclassing.

Stable:
ICU 4.6

Definition at line273 of fileidna.h.

Constructor & Destructor Documentation

◆ IDNAInfo()

icu::IDNAInfo::IDNAInfo()
inline

Constructor for stack allocation.

Stable:
ICU 4.6

Definition at line279 of fileidna.h.

Member Function Documentation

◆ getErrors()

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

Returns a bit set indicatingIDNA processing errors.

See UIDNA_ERROR_... constants inuidna.h.

Returns
bit set of processing errors
Stable:
ICU 4.6

Definition at line292 of fileidna.h.

◆ hasErrors()

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

Were thereIDNA processing errors?

Returns
true if there were processing errors
Stable:
ICU 4.6

Definition at line285 of fileidna.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 line306 of fileidna.h.


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

Generated by doxygen 1.9.1
[8]ページ先頭

©2009-2025 Movatter.jp