|
Honeycomb
0.1
Component-Model Framework
|
Dependency node for insertion into graph. More...
#include <Dep.h>
Public Types | |
| enum | DepType { DepType::out, DepType::in } |
| typedef Data_ | Data |
| typedef Key_ | Key |
| template<class T > | |
| using | Alloc = Alloc_< T > |
| typedef stdutil::unordered_map< Key, DepType, Alloc > | DepMap |
Public Member Functions | |
| DepNode (const Data &data=Data(), const Key &key=Key()) | |
| void | setData (const Data &data) |
| Set the data that this node contains. More... | |
| const Data & | getData () const |
| Data & | getData () |
| operator const Data & () const | |
| Implicit cast to the data at this node. More... | |
| operator Data & () | |
| const Data & | operator* () const |
| Get the data at this node. More... | |
| Data & | operator* () |
| const Data & | operator-> () const |
| Data & | operator-> () |
| void | setKey (const Key &key) |
| Set the key used to identify this node. More... | |
| const Key & | getKey () const |
| Key & | getKey () |
| void | add (const Key &key, DepType type=DepType::out) |
| Add a dependency link. More... | |
| void | remove (const Key &key) |
| Remove a dependency link. More... | |
| void | clear () |
| Remove all dependency links. More... | |
| const DepMap & | deps () const |
| Get dep links. More... | |
Static Public Member Functions | |
| static DepType | depTypeOpp (DepType type) |
| Get opposite dependency type. More... | |
Static Public Attributes | |
| static const int | depTypeMax = 2 |
Dependency node for insertion into graph.
| using honey::DepNode< Data_, Key_, Alloc_ >::Alloc = Alloc_<T> |
| typedef Data_ honey::DepNode< Data_, Key_, Alloc_ >::Data |
| typedef stdutil::unordered_map<Key, DepType, Alloc> honey::DepNode< Data_, Key_, Alloc_ >::DepMap |
| typedef Key_ honey::DepNode< Data_, Key_, Alloc_ >::Key |
|
strong |
|
inline |
|
inline |
Add a dependency link.
|
inline |
Remove all dependency links.
|
inline |
Get dep links.
|
inlinestatic |
Get opposite dependency type.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Implicit cast to the data at this node.
|
inline |
|
inline |
Get the data at this node.
|
inline |
|
inline |
|
inline |
|
inline |
Remove a dependency link.
|
inline |
Set the data that this node contains.
|
inline |
Set the key used to identify this node.
|
static |
1.8.10