Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
nsCollationMacUC Class Reference

#include <nsCollationMacUC.h>

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

List of all members.

Public Member Functions

 nsCollationMacUC ()
 ~nsCollationMacUC ()
void initialize (in nsILocale locale)
long compareString (in long strength, in AString string1, in AString string2)
void allocateRawSortKey (in long strength, in AString stringIn,[array, size_is(outLen)] out octet key, out unsigned long outLen)
long compareRawSortKey ([const, array, size_is(len1)] in octet key1, in unsigned long len1,[const, array, size_is(len2)] in octet key2, in unsigned long len2)

Public Attributes

const long kCollationStrengthDefault = 0
const long kCollationCaseInsensitiveAscii = 1
const long kCollationAccentInsenstive = 2
const long kCollationCaseSensitive = kCollationStrengthDefault
const long kCollationCaseInSensitive = (kCollationCaseInsensitiveAscii | kCollationAccentInsenstive)

Protected Member Functions

nsresult ConvertLocale (nsILocale *aNSLocale, LocaleRef *aMacLocale)
nsresult StrengthToOptions (const PRInt32 aStrength, UCCollateOptions *aOptions)
nsresult EnsureCollator (const PRInt32 newStrength)

Private Attributes

PRPackedBool mInit
PRPackedBool mHasCollator
LocaleRef mLocale
PRInt32 mLastStrength
CollatorRef mCollator
voidmBuffer
PRUint32 mBufferLen

Detailed Description

Definition at line 54 of file nsCollationMacUC.h.


Constructor & Destructor Documentation


Member Function Documentation

void nsICollation::allocateRawSortKey ( in long  strength,
in AString  stringIn,
[array, size_is(outLen)] out octet  key,
out unsigned long  outLen 
) [inherited]
long nsICollation::compareRawSortKey ( [const, array, size_is(len1)] in octet  key1,
in unsigned long  len1,
[const, array, size_is(len2)] in octet  key2,
in unsigned long  len2 
) [inherited]
long nsICollation::compareString ( in long  strength,
in AString  string1,
in AString  string2 
) [inherited]
nsresult nsCollationMacUC::ConvertLocale ( nsILocale aNSLocale,
LocaleRef *  aMacLocale 
) [protected]
void nsICollation::initialize ( in nsILocale  locale) [inherited]
nsresult nsCollationMacUC::StrengthToOptions ( const PRInt32  aStrength,
UCCollateOptions *  aOptions 
) [protected]

Member Data Documentation

Definition at line 57 of file nsICollation.idl.

Definition at line 63 of file nsICollation.idl.

Definition at line 54 of file nsICollation.idl.

Definition at line 60 of file nsICollation.idl.

Definition at line 51 of file nsICollation.idl.

Definition at line 78 of file nsCollationMacUC.h.

Definition at line 79 of file nsCollationMacUC.h.

CollatorRef nsCollationMacUC::mCollator [private]

Definition at line 77 of file nsCollationMacUC.h.

Definition at line 74 of file nsCollationMacUC.h.

Definition at line 73 of file nsCollationMacUC.h.

Definition at line 76 of file nsCollationMacUC.h.

LocaleRef nsCollationMacUC::mLocale [private]

Definition at line 75 of file nsCollationMacUC.h.


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