Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes
nsCSSCounterData Struct Reference

#include <nsCSSStruct.h>

Collaboration diagram for nsCSSCounterData:
Collaboration graph

List of all members.

Public Member Functions

 nsCSSCounterData (void)
 nsCSSCounterData (const nsCSSCounterData &aCopy)
 ~nsCSSCounterData (void)

Static Public Member Functions

static PRBool Equal (nsCSSCounterData *aList1, nsCSSCounterData *aList2)

Public Attributes

nsCSSValue mCounter
nsCSSValue mValue

Detailed Description

Definition at line 437 of file nsCSSStruct.h.

Constructor & Destructor Documentation

Definition at line 873 of file nsCSSStruct.cpp.

Member Function Documentation

PRBool nsCSSCounterData::Equal ( nsCSSCounterData aList1,
nsCSSCounterData aList2 
) [static]

Definition at line 895 of file nsCSSStruct.cpp.

  if (aList1 == aList2)
    return PR_TRUE;

  nsCSSCounterData *p1 = aList1, *p2 = aList2;
  for ( ; p1 && p2; p1 = p1->mNext, p2 = p2->mNext) {
    if (p1->mCounter != p2->mCounter ||
        p1->mValue != p2->mValue)
      return PR_FALSE;
  return !p1 && !p2; // true if same length, false otherwise

Here is the caller graph for this function:

Member Data Documentation

Definition at line 444 of file nsCSSStruct.h.

Definition at line 446 of file nsCSSStruct.h.

Definition at line 445 of file nsCSSStruct.h.

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