Back to index

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

#include <nsICSSStyleRule.h>

Collaboration diagram for nsAttrSelector:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsAttrSelector (PRInt32 aNameSpace, const nsString &aAttr)
 nsAttrSelector (PRInt32 aNameSpace, const nsString &aAttr, PRUint8 aFunction, const nsString &aValue, PRBool aCaseSensitive)
 nsAttrSelector (PRInt32 aNameSpace, nsIAtom *aAttr, PRUint8 aFunction, const nsString &aValue, PRBool aCaseSensitive)
 ~nsAttrSelector (void)
nsAttrSelectorClone () const
 Do a deep clone.

Public Attributes

PRInt32 mNameSpace
nsCOMPtr< nsIAtommAttr
PRUint8 mFunction
PRPackedBool mCaseSensitive
nsString mValue
nsAttrSelectormNext

Private Member Functions

nsAttrSelectorClone (PRBool aDeep) const
 nsAttrSelector (const nsAttrSelector &aCopy)
nsAttrSelectoroperator= (const nsAttrSelector &aCopy)

Detailed Description

Definition at line 100 of file nsICSSStyleRule.h.


Constructor & Destructor Documentation

nsAttrSelector::nsAttrSelector ( PRInt32  aNameSpace,
const nsString aAttr 
)

Definition at line 206 of file nsCSSStyleRule.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsAttrSelector::nsAttrSelector ( PRInt32  aNameSpace,
const nsString aAttr,
PRUint8  aFunction,
const nsString aValue,
PRBool  aCaseSensitive 
)

Definition at line 219 of file nsCSSStyleRule.cpp.

  : mNameSpace(aNameSpace),
    mAttr(nsnull),
    mFunction(aFunction),
    mCaseSensitive(aCaseSensitive),
    mValue(aValue),
    mNext(nsnull)
{
  MOZ_COUNT_CTOR(nsAttrSelector);

  mAttr = do_GetAtom(aAttr);
}

Here is the call graph for this function:

nsAttrSelector::nsAttrSelector ( PRInt32  aNameSpace,
nsIAtom aAttr,
PRUint8  aFunction,
const nsString aValue,
PRBool  aCaseSensitive 
)

Definition at line 233 of file nsCSSStyleRule.cpp.

  : mNameSpace(aNameSpace),
    mAttr(aAttr),
    mFunction(aFunction),
    mCaseSensitive(aCaseSensitive),
    mValue(aValue),
    mNext(nsnull)
{
  MOZ_COUNT_CTOR(nsAttrSelector);
}

Member Function Documentation

nsAttrSelector* nsAttrSelector::Clone ( void  ) const [inline]

Do a deep clone.

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

Definition at line 110 of file nsICSSStyleRule.h.

{ return Clone(PR_TRUE); }

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 247 of file nsCSSStyleRule.cpp.

Here is the call graph for this function:

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

Member Data Documentation

Definition at line 113 of file nsICSSStyleRule.h.

Definition at line 115 of file nsICSSStyleRule.h.

Definition at line 114 of file nsICSSStyleRule.h.

Definition at line 112 of file nsICSSStyleRule.h.

Definition at line 117 of file nsICSSStyleRule.h.

Definition at line 116 of file nsICSSStyleRule.h.


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