Back to index

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

#include <nsStyleStruct.h>

Inheritance diagram for nsStyleTable:
Inheritance graph
[legend]
Collaboration diagram for nsStyleTable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsStyleTable (void)
 nsStyleTable (const nsStyleTable &aOther)
 ~nsStyleTable (void)
voidoperator new (size_t sz, nsPresContext *aContext) CPP_THROW_NEW
void Destroy (nsPresContext *aContext)
nsChangeHint CalcDifference (const nsStyleTable &aOther) const

Public Attributes

PRUint8 mLayoutStrategy
PRUint8 mFrame
PRUint8 mRules
PRInt32 mCols
PRInt32 mSpan

Detailed Description

Definition at line 853 of file nsStyleStruct.h.


Constructor & Destructor Documentation

Definition at line 980 of file nsStyleStruct.cpp.

{
  memcpy((nsStyleTable*)this, &aSource, sizeof(nsStyleTable));
}

Here is the call graph for this function:

Definition at line 976 of file nsStyleStruct.cpp.

{ 
}

Here is the caller graph for this function:


Member Function Documentation

Definition at line 985 of file nsStyleStruct.cpp.

{
  // Changes in mRules may require reframing (if border-collapse stuff changes, for example).
  if (mRules != aOther.mRules)
    return NS_STYLE_HINT_FRAMECHANGE;

  if ((mLayoutStrategy == aOther.mLayoutStrategy) &&
      (mFrame == aOther.mFrame) &&
      (mCols == aOther.mCols) &&
      (mSpan == aOther.mSpan))
    return NS_STYLE_HINT_NONE;
  return NS_STYLE_HINT_REFLOW;
}
void nsStyleTable::Destroy ( nsPresContext aContext) [inline]

Definition at line 863 of file nsStyleStruct.h.

                                        {
    this->~nsStyleTable();
    aContext->FreeToShell(sizeof(nsStyleTable), this);
  };

Here is the call graph for this function:

Here is the caller graph for this function:

void* nsStyleTable::operator new ( size_t  sz,
nsPresContext aContext 
) [inline]

Definition at line 860 of file nsStyleStruct.h.

                                                                       {
    return aContext->AllocateFromShell(sz);
  }

Member Data Documentation

Definition at line 876 of file nsStyleStruct.h.

Definition at line 874 of file nsStyleStruct.h.

Definition at line 873 of file nsStyleStruct.h.

Definition at line 875 of file nsStyleStruct.h.

Definition at line 877 of file nsStyleStruct.h.


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