Classes | Defines | Typedefs

nsRuleNode.h File Reference

#include "nsPresContext.h"
#include "nsStyleStruct.h"
#include "nsStyleStructList.h"
Include dependency graph for nsRuleNode.h:
This graph shows which files directly or indirectly include 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...
struct  nsRuleNode::Key
struct  nsRuleNode::ComputedCalc

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)   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)   nsStyle##name * m##name##Data;
#define STYLE_STRUCT_INHERITED(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(name_, checkdata_cb_, ctor_args_)   const nsStyle##name_* GetParent##name_();
#define STYLE_STRUCT(name_, checkdata_cb_, ctor_args_)

Typedefs

typedef nsCSSStruct nsRuleDataStruct

Define Documentation

#define STYLE_STRUCT (   name_,
  checkdata_cb_,
  ctor_args_ 
)    const nsStyle##name_* GetParent##name_();
#define STYLE_STRUCT (   name_,
  checkdata_cb_,
  ctor_args_ 
)
Value:
const nsStyle##name_* GetStyle##name_(nsStyleContext* aContext,           \
                                          PRBool aComputeData);
#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)    m##name##Data = nsnull;
#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)
#define STYLE_STRUCT_INHERITED (   name_,
  checkdata_cb_,
  ctor_args_ 
)
Value:
nsStyle##name_ * NS_FASTCALL GetStyle##name_ () {        \
      return mInheritedData ? mInheritedData->m##name_##Data : nsnull;   \
    }
#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)
#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)    nsStyle##name * m##name##Data;
#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)
#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);
#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)
#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)
#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)    nsStyle##name * m##name##Data;
#define STYLE_STRUCT_RESET (   name_,
  checkdata_cb_,
  ctor_args_ 
)
Value:
nsStyle##name_ * NS_FASTCALL GetStyle##name_ () {        \
      return mResetData ? mResetData->m##name_##Data : nsnull;           \
    }
#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)    m##name##Data = nsnull;
#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);
#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)

Typedef Documentation