Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions
nsAtomStringList Struct Reference

#include <nsICSSStyleRule.h>

Collaboration diagram for nsAtomStringList:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsAtomStringList (nsIAtom *aAtom, const PRUnichar *aString=nsnull)
 nsAtomStringList (const nsString &aAtomValue, const PRUnichar *aString=nsnull)
 ~nsAtomStringList (void)
nsAtomStringListClone () const
 Do a deep clone.

Public Attributes

nsCOMPtr< nsIAtommAtom
PRUnicharmString
nsAtomStringListmNext

Private Member Functions

nsAtomStringListClone (PRBool aDeep) const
 nsAtomStringList (const nsAtomStringList &aCopy)
nsAtomStringListoperator= (const nsAtomStringList &aCopy)

Detailed Description

Definition at line 72 of file nsICSSStyleRule.h.


Constructor & Destructor Documentation

Definition at line 163 of file nsCSSStyleRule.cpp.

  : mAtom(aAtom),
    mString(nsnull),
    mNext(nsnull)
{
  MOZ_COUNT_CTOR(nsAtomStringList);
  if (aString)
    mString = nsCRT::strdup(aString);
}

Here is the caller graph for this function:

Definition at line 173 of file nsCSSStyleRule.cpp.

Here is the call graph for this function:


Member Function Documentation

Do a deep clone.

Should be used only on the first in the linked list.

Definition at line 79 of file nsICSSStyleRule.h.

{ return Clone(PR_TRUE); }

Here is the call graph for this function:

Here is the caller graph for this function:

nsAtomStringList * nsAtomStringList::Clone ( PRBool  aDeep) const [private]

Definition at line 186 of file nsCSSStyleRule.cpp.

Here is the call graph for this function:

nsAtomStringList& nsAtomStringList::operator= ( const nsAtomStringList aCopy) [private]

Member Data Documentation

Definition at line 81 of file nsICSSStyleRule.h.

Definition at line 83 of file nsICSSStyleRule.h.

Definition at line 82 of file nsICSSStyleRule.h.


The documentation for this struct was generated from the following files: