Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsRuleNetwork.h File Reference
#include "nsCOMPtr.h"
#include "nsIContent.h"
#include "plhash.h"
#include "pldhash.h"
#include "nsCRT.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Value
 A type-safe value that can be bound to a variable in the rule network. More...
class  VariableSet
 A set of variables. More...
class  MemoryElement
 A memory element that supports an instantiation. More...
class  MemoryElementSet
 A collection of memory elements. More...
class  MemoryElementSet::List
class  MemoryElementSet::ConstIterator
class  nsAssignment
 An assignment of a value to a variable. More...
class  nsAssignmentSet
 A collection of value-to-variable assignments that minimizes copying by sharing subsets when possible. More...
class  nsAssignmentSet::List
class  nsAssignmentSet::ConstIterator
class  Instantiation
 A collection of varible-to-value bindings, with the memory elements that support those bindings. More...
class  InstantiationSet
 A collection of intantiations. More...
class  InstantiationSet::List
class  InstantiationSet::ConstIterator
class  InstantiationSet::Iterator
class  ReteNode
 A abstract base class for all nodes in the rule network. More...
class  ReteNodeSet
 A collection of nodes in the rule network. More...
class  ReteNodeSet::ConstIterator
class  ReteNodeSet::Iterator
class  InnerNode
 An abstract base class for an "inner node" in the rule network. More...
class  RootNode
 The root node in the rule network. More...
class  JoinNode
 A node that joins to paths from the root node, and binds a variable from the left ancestor to a variable in the right ancestor. More...
class  TestNode
 A node that applies a test condition to a set of instantiations. More...
class  nsRuleNetwork
struct  nsRuleNetwork::SymtabEntry

Defines

#define VALUE_TO_ISUPPORTS(type, v)   NS_STATIC_CAST(type*, NS_STATIC_CAST(nsISupports*, (v)))
#define VALUE_TO_IRDFRESOURCE(v)   VALUE_TO_ISUPPORTS(nsIRDFResource, (v))
#define VALUE_TO_IRDFNODE(v)   VALUE_TO_ISUPPORTS(nsIRDFNode, (v))
#define VALUE_TO_ICONTENT(v)   VALUE_TO_ISUPPORTS(nsIContent, (v))

Class Documentation

struct nsRuleNetwork::SymtabEntry

Definition at line 1108 of file nsRuleNetwork.h.

Class Members
PLDHashEntryHdr mHdr
PRUnichar * mSymbol
PRInt32 mVariable

Define Documentation

Definition at line 177 of file nsRuleNetwork.h.

Definition at line 176 of file nsRuleNetwork.h.

Definition at line 175 of file nsRuleNetwork.h.

#define VALUE_TO_ISUPPORTS (   type,
  v 
)    NS_STATIC_CAST(type*, NS_STATIC_CAST(nsISupports*, (v)))

Definition at line 167 of file nsRuleNetwork.h.