Public Member Functions

nsIAtom Interface Reference

import "nsIAtom.idl";

Inheritance diagram for nsIAtom:

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)
boolean isStaticAtom ()
 Returns true if the atom is static and false otherwise.

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]
boolean nsIAtom::equalsUTF8 ( in AUTF8String  aString  ) 
PRBool nsIAtom::EqualsUTF8 ( const nsACString s  )  [inline]
void nsIAtom::getUTF8String ( [shared, retval] out string  aResult  ) 

Return a pointer to a zero terminated UTF8 string.

boolean nsIAtom::isStaticAtom (  ) 

Returns true if the atom is static and false otherwise.

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: