Back to index

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

#include <nsCSSStruct.h>

Collaboration diagram for nsCSSRect:
Collaboration graph
[legend]

List of all members.

Public Types

typedef nsCSSValue nsCSSRect::* side_type

Public Member Functions

 nsCSSRect (void)
 nsCSSRect (const nsCSSRect &aCopy)
 ~nsCSSRect ()
PRBool operator== (const nsCSSRect &aOther) const
PRBool operator!= (const nsCSSRect &aOther) const
void SetAllSidesTo (const nsCSSValue &aValue)
void Reset ()
PRBool HasValue () const

Public Attributes

nsCSSValue mTop
nsCSSValue mRight
nsCSSValue mBottom
nsCSSValue mLeft

Static Public Attributes

static const side_type sides [4]

Detailed Description

Definition at line 155 of file nsCSSStruct.h.


Member Typedef Documentation

typedef nsCSSValue nsCSSRect::* nsCSSRect::side_type

Definition at line 200 of file nsCSSStruct.h.


Constructor & Destructor Documentation

Definition at line 300 of file nsCSSStruct.cpp.

Definition at line 305 of file nsCSSStruct.cpp.

  : mTop(aCopy.mTop),
    mRight(aCopy.mRight),
    mBottom(aCopy.mBottom),
    mLeft(aCopy.mLeft)
{
  MOZ_COUNT_CTOR(nsCSSRect);
}

Definition at line 314 of file nsCSSStruct.cpp.

Here is the caller graph for this function:


Member Function Documentation

PRBool nsCSSRect::HasValue ( ) const [inline]

Definition at line 187 of file nsCSSStruct.h.

Here is the call graph for this function:

Here is the caller graph for this function:

PRBool nsCSSRect::operator!= ( const nsCSSRect aOther) const [inline]

Definition at line 171 of file nsCSSStruct.h.

                                                   {
    return mTop != aOther.mTop ||
           mRight != aOther.mRight ||
           mBottom != aOther.mBottom ||
           mLeft != aOther.mLeft;
  }
PRBool nsCSSRect::operator== ( const nsCSSRect aOther) const [inline]

Definition at line 164 of file nsCSSStruct.h.

                                                   {
    return mTop == aOther.mTop &&
           mRight == aOther.mRight &&
           mBottom == aOther.mBottom &&
           mLeft == aOther.mLeft;
  }
void nsCSSRect::Reset ( void  ) [inline]

Definition at line 180 of file nsCSSStruct.h.

               {
    mTop.Reset();
    mRight.Reset();
    mBottom.Reset();
    mLeft.Reset();
  }

Here is the caller graph for this function:

Definition at line 319 of file nsCSSStruct.cpp.

Here is the caller graph for this function:


Member Data Documentation

Definition at line 197 of file nsCSSStruct.h.

Definition at line 198 of file nsCSSStruct.h.

Definition at line 196 of file nsCSSStruct.h.

Definition at line 195 of file nsCSSStruct.h.

Initial value:

Definition at line 201 of file nsCSSStruct.h.


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