Public Member Functions | Protected Attributes

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 ()
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)
boolean isStaticAtom ()
 Returns true if the atom is static and false otherwise.
PRBool Equals (const nsAString &aString)
const PRUnicharGetUTF16String ()
const PRUint32 GetLength ()
void ToString (nsAString &aBuf)

Protected Attributes

PRUint32 mLength
PRUnicharmString

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 aString  )  [inline]
boolean nsIAtom::equalsUTF8 ( in AUTF8String  aString  ) 
const PRUint32 nsIAtom::GetLength (  )  [inline]
const PRUnichar* nsIAtom::GetUTF16String (  )  [inline]
boolean nsIAtom::isStaticAtom (  ) 

Returns true if the atom is static and false otherwise.

void nsIAtom::ToString ( nsAString aBuf  )  [inline]
AString nsIAtom::toString (  ) 

Get the Unicode or UTF8 value for the string.

AUTF8String nsIAtom::toUTF8String (  ) 

Member Data Documentation

PRUint32 nsIAtom::mLength [protected]

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