OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dependency.h File Reference
#include <boost/intrusive/list.hpp>
#include <boost/iterator/iterator_facade.hpp>
#include "base/util.h"
Include dependency graph for dependency.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DependencyList< NodeType, ObjectType >
 
class  DependencyRef< NodeType, ObjectType >
 
class  DependencyList< NodeType, ObjectType >
 
class  DependencyList< NodeType, ObjectType >::IteratorBase< ValueType, IteratorType >
 

Macros

#define DEPENDENCY_LIST(NodeType, ObjectType, _Member)
 

Macro Definition Documentation

#define DEPENDENCY_LIST (   NodeType,
  ObjectType,
  _Member 
)
Value:
friend class DependencyRef<NodeType, ObjectType>; \
void DependencyAdd(DependencyRef<NodeType, ObjectType> *node) { \
_Member.Add(node); \
} \
void DependencyRemove(DependencyRef<NodeType, ObjectType> *node) { \
_Member.Remove(node); \
} \
friend class DependencyList< NodeType, ObjectType >
Definition: dependency.h:58

Definition at line 131 of file dependency.h.