Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs
nsRuleNode.h File Reference
#include "nsPresContext.h"
#include "nsStyleStruct.h"
#include "nsStyleStructList.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsInheritedStyleData
struct  nsResetStyleData
struct  nsCachedStyleData
struct  nsCachedStyleData::StyleStructInfo
class  nsRuleNode
 nsRuleNode is a node in a lexicographic tree (the "rule tree") indexed by style rules (implementations of nsIStyleRule). More...

Defines

#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)   nsStyle##name * m##name##Data;
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)   m##name##Data = nsnull;
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)   m##name##Data = nsnull;
#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)   nsStyle##name * m##name##Data;
#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)

Typedefs

typedef nsCSSStruct nsRuleDataStruct
typedef void(* nsPostResolveFunc )(nsStyleStruct *aStyleStruct, nsRuleData *aData)

Class Documentation

struct nsCachedStyleData::StyleStructInfo

Definition at line 172 of file nsRuleNode.h.

Class Members
ptrdiff_t mCachedStyleDataOffset
ptrdiff_t mInheritResetOffset
PRBool mIsReset

Define Documentation

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)    nsStyle##name * m##name##Data;

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)
Value:
if (m##name##Data && (aBits & NS_STYLE_INHERIT_BIT(name))) \
      m##name##Data = nsnull;

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)
Value:
if (m##name##Data && !(aBits & NS_STYLE_INHERIT_BIT(name))) \
      m##name##Data->Destroy(aContext);

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)    m##name##Data = nsnull;

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 161 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 159 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 159 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 159 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)

Definition at line 159 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)    m##name##Data = nsnull;

Definition at line 159 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)
Value:
if (m##name##Data && (aBits & NS_STYLE_INHERIT_BIT(name))) \
      m##name##Data = nsnull;

Definition at line 159 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)
Value:
if (m##name##Data && !(aBits & NS_STYLE_INHERIT_BIT(name))) \
      m##name##Data->Destroy(aContext);

Definition at line 159 of file nsRuleNode.h.

#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)    nsStyle##name * m##name##Data;

Definition at line 159 of file nsRuleNode.h.


Typedef Documentation

typedef void(* nsPostResolveFunc)(nsStyleStruct *aStyleStruct, nsRuleData *aData)

Definition at line 58 of file nsRuleNode.h.

Definition at line 51 of file nsRuleNode.h.