Back to index

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

#include <nsCollationOS2.h>

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

List of all members.

Public Member Functions

 nsCollationOS2 ()
 ~nsCollationOS2 ()
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 Attributes

nsCollationmCollation
nsString mLocale
nsString mSavedLocale

Detailed Description

Definition at line 46 of file nsCollationOS2.h.


Constructor & Destructor Documentation

Definition at line 63 of file nsCollationOS2.cpp.

Definition at line 68 of file nsCollationOS2.cpp.

{
   if (mCollation != NULL)
     delete mCollation;
}

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]
void nsICollation::initialize ( in nsILocale  locale) [inherited]

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 49 of file nsCollationOS2.h.

Definition at line 50 of file nsCollationOS2.h.

Definition at line 51 of file nsCollationOS2.h.


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