Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIAtom Interface Reference

import "nsIAtom.idl";

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

List of all members.

Public Member Functions

AString toString ()
 Get the Unicode or UTF8 value for the string.
AUTF8String toUTF8String ()
void getUTF8String ([shared, retval] out string aResult)
 Return a pointer to a zero terminated UTF8 string.
boolean equals (in AString aString)
 Compare the atom to a specific string value Note that this will NEVER return/throw an error condition.
boolean equalsUTF8 (in AUTF8String aString)
PRBool Equals (const nsAString &s)
PRBool EqualsUTF8 (const nsACString &s)

Detailed Description

Definition at line 52 of file nsIAtom.idl.


Member Function Documentation

boolean nsIAtom::equals ( in AString  aString)

Compare the atom to a specific string value Note that this will NEVER return/throw an error condition.

PRBool nsIAtom::Equals ( const nsAString &  s) [inline]

Definition at line 75 of file nsIAtom.idl.

                                           {
    PRBool result;
    Equals(s, &result);
    return result;
  }

Here is the caller graph for this function:

boolean nsIAtom::equalsUTF8 ( in AUTF8String  aString)
PRBool nsIAtom::EqualsUTF8 ( const nsACString &  s) [inline]

Definition at line 81 of file nsIAtom.idl.

                                                {
    PRBool result;
    EqualsUTF8(s, &result);
    return result;
  }

Here is the caller graph for this function:

void nsIAtom::getUTF8String ( [shared, retval] out string  aResult)

Return a pointer to a zero terminated UTF8 string.

AString nsIAtom::toString ( )

Get the Unicode or UTF8 value for the string.

AUTF8String nsIAtom::toUTF8String ( )

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