Back to index

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

#include <nsCollationMac.h>

Inheritance diagram for nsCollationMac:
Inheritance graph
Collaboration diagram for nsCollationMac:
Collaboration graph

List of all members.

Public Member Functions

 nsCollationMac ()
 ~nsCollationMac ()
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

short m_scriptcode
unsigned char m_mac_sort_tbl [256]

Detailed Description

Definition at line 49 of file nsCollationMac.h.

Constructor & Destructor Documentation

Definition at line 128 of file nsCollationMac.cpp.

Definition at line 133 of file nsCollationMac.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.

unsigned char nsCollationMac::m_mac_sort_tbl[256] [protected]

Definition at line 55 of file nsCollationMac.h.

short nsCollationMac::m_scriptcode [protected]

Definition at line 54 of file nsCollationMac.h.

Definition at line 52 of file nsCollationMac.h.

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