Back to index

lightning-sunbird  0.9+nobinonly
Defines | Typedefs | Functions
txStringUtils.h File Reference
#include "nsAString.h"
#include "nsIAtom.h"
#include "nsUnicharUtils.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define TX_ToLowerCase   ToLowerCase

Typedefs

typedef
nsCaseInsensitiveStringComparator 
txCaseInsensitiveStringComparator

Functions

PRBool TX_StringEqualsAtom (const nsASingleFragmentString &aString, nsIAtom *aAtom)
 Check equality between a string and an atom containing ASCII.

Define Documentation

Definition at line 63 of file txStringUtils.h.


Typedef Documentation

Definition at line 61 of file txStringUtils.h.


Function Documentation

PRBool TX_StringEqualsAtom ( const nsASingleFragmentString aString,
nsIAtom aAtom 
) [inline]

Check equality between a string and an atom containing ASCII.

Definition at line 50 of file txStringUtils.h.

{
    const char* ASCIIAtom;
    aAtom->GetUTF8String(&ASCIIAtom);

    return aString.EqualsASCII(ASCIIAtom);
}

Here is the caller graph for this function: