Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsStaticAtomWrapper Class Reference
Inheritance diagram for nsStaticAtomWrapper:
Inheritance graph
[legend]
Collaboration diagram for nsStaticAtomWrapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsStaticAtomWrapper (const nsStaticAtom *aAtom)
 ~nsStaticAtomWrapper ()
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)
 NS_IMETHOD_ (nsrefcnt) AddRef(void)
 NS_IMETHOD_ (nsrefcnt) Release(void)
NS_DECL_NSIATOM const
nsStaticAtom
GetStaticAtom ()
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)

Private Attributes

const nsStaticAtommStaticAtom

Detailed Description

Definition at line 68 of file nsAtomTable.cpp.


Constructor & Destructor Documentation

Definition at line 71 of file nsAtomTable.cpp.

Definition at line 76 of file nsAtomTable.cpp.

                         {   // no subclasses -> not virtual
    // this is arena allocated and won't be called except in debug
    // builds. If this function ever does anything non-debug, be sure
    // to get rid of the ifdefs in AtomTableClearEntry!
    MOZ_COUNT_DTOR(nsStaticAtomWrapper);
  }

Here is the caller graph for this function:


Member Function Documentation

boolean nsIAtom::equals ( in AString  aString) [inherited]

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, inherited]

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) [inherited]
PRBool nsIAtom::EqualsUTF8 ( const nsACString &  s) [inline, inherited]

Definition at line 81 of file nsIAtom.idl.

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

Here is the caller graph for this function:

NS_DECL_NSIATOM const nsStaticAtom* nsStaticAtomWrapper::GetStaticAtom ( ) [inline]

Definition at line 90 of file nsAtomTable.cpp.

                                      {
    return mStaticAtom;
  }

Here is the caller graph for this function:

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

Return a pointer to a zero terminated UTF8 string.

AString nsIAtom::toString ( ) [inherited]

Get the Unicode or UTF8 value for the string.

AUTF8String nsIAtom::toUTF8String ( ) [inherited]

Member Data Documentation

Definition at line 94 of file nsAtomTable.cpp.


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