Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsUnicodeNormalizer Class Reference

#include <nsUnicodeNormalizer.h>

Inheritance diagram for nsUnicodeNormalizer:
Inheritance graph
[legend]
Collaboration diagram for nsUnicodeNormalizer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsUnicodeNormalizer ()
virtual ~nsUnicodeNormalizer ()
NS_DECL_ISUPPORTS NS_IMETHOD NormalizeUnicodeNFD (const nsAString &aSrc, nsAString &aDest)
NS_IMETHOD NormalizeUnicodeNFC (const nsAString &aSrc, nsAString &aDest)
NS_IMETHOD NormalizeUnicodeNFKD (const nsAString &aSrc, nsAString &aDest)
NS_IMETHOD NormalizeUnicodeNFKC (const nsAString &aSrc, nsAString &aDest)
void NormalizeUnicodeNFD (in AString aSrc, out AString aDest)
 Normalize Unicode (NFD, NFC, NFKD, NFKC).
void NormalizeUnicodeNFC (in AString aSrc, out AString aDest)
void NormalizeUnicodeNFKD (in AString aSrc, out AString aDest)
void NormalizeUnicodeNFKC (in AString aSrc, out AString aDest)

Detailed Description

Definition at line 49 of file nsUnicodeNormalizer.h.


Constructor & Destructor Documentation

Definition at line 99 of file nsUnicodeNormalizer.cpp.

{
}

Definition at line 103 of file nsUnicodeNormalizer.cpp.

{
}

Member Function Documentation

nsresult nsUnicodeNormalizer::NormalizeUnicodeNFC ( const nsAString &  aSrc,
nsAString &  aDest 
)

Definition at line 699 of file nsUnicodeNormalizer.cpp.

{
  return mdn_normalize(PR_TRUE, PR_FALSE, aSrc, aDest);
}

Here is the call graph for this function:

void nsIUnicodeNormalizer::NormalizeUnicodeNFC ( in AString  aSrc,
out AString  aDest 
) [inherited]
nsresult nsUnicodeNormalizer::NormalizeUnicodeNFD ( const nsAString &  aSrc,
nsAString &  aDest 
)

Definition at line 693 of file nsUnicodeNormalizer.cpp.

{
  return mdn_normalize(PR_FALSE, PR_FALSE, aSrc, aDest);
}

Here is the call graph for this function:

void nsIUnicodeNormalizer::NormalizeUnicodeNFD ( in AString  aSrc,
out AString  aDest 
) [inherited]

Normalize Unicode (NFD, NFC, NFKD, NFKC).

NFD: Canonical Decomposition NFC: Canonical Decomposition, followed by Canonical Composition NFKD: Compatibility Decomposition NFKC: Compatibility Decomposition, followed by Canonical Composition Reference: Unicode Standard, TR15, Unicode Normalization Forms

Parameters:
aSrc[IN] nsAString which contains an input UTF-16 string.
aDest[OUT] A pointer to an output buffer provided by a callee.
Returns:
NS_OK for success,

Here is the caller graph for this function:

nsresult nsUnicodeNormalizer::NormalizeUnicodeNFKC ( const nsAString &  aSrc,
nsAString &  aDest 
)

Definition at line 711 of file nsUnicodeNormalizer.cpp.

{
  return mdn_normalize(PR_TRUE, PR_TRUE, aSrc, aDest);
}

Here is the call graph for this function:

void nsIUnicodeNormalizer::NormalizeUnicodeNFKC ( in AString  aSrc,
out AString  aDest 
) [inherited]
nsresult nsUnicodeNormalizer::NormalizeUnicodeNFKD ( const nsAString &  aSrc,
nsAString &  aDest 
)

Definition at line 705 of file nsUnicodeNormalizer.cpp.

{
  return mdn_normalize(PR_FALSE, PR_TRUE, aSrc, aDest);
}

Here is the call graph for this function:

void nsIUnicodeNormalizer::NormalizeUnicodeNFKD ( in AString  aSrc,
out AString  aDest 
) [inherited]

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