![]() |
Belle II Software release-09-00-04
|
The Node-Class. More...
#include <DirectedNode.h>

Public Member Functions | |
| bool | operator== (const DirectedNode &b) const |
| ************************* OPERATORS ************************* | |
| bool | operator!= (const DirectedNode &b) const |
| != -operator - compares if two nodes are not identical | |
| bool | operator== (const EntryType &b) const |
| == -operator - compares if the entry passed is identical with the one linked in this node | |
| bool | operator!= (const EntryType &b) const |
| == -operator - compares if the entry passed is not identical with the one linked in this node | |
| std::vector< DirectedNode< EntryType, MetaInfoType > * > & | getInnerNodes () |
| ************************* PUBLIC MEMBER FUNCTIONS ************************* | |
| std::vector< DirectedNode< EntryType, MetaInfoType > * > & | getOuterNodes () |
| Returns links to all outer nodes attached to this one. | |
| EntryType & | getEntry () |
| Allows access to stored entry. | |
| const EntryType & | getConstEntry () const |
| Allows const access to stored entry (needed for external operator overload. | |
| DirectedNode< EntryType, MetaInfoType > * | getPtr () |
| Returns Pointer to this node. | |
| MetaInfoType & | getMetaInfo () |
| Returns reference to MetaInfoType attached to this node. | |
| short | getFamily () const |
| Returns identifier of this cell. | |
| void | setFamily (short family) |
| Assign a family identifier to this cell. | |
Public Attributes | |
| EntryType & | m_entry |
| ************************* DATA MEMBERS ************************* | |
| std::vector< DirectedNode< EntryType, MetaInfoType > * > | m_innerNodes |
| Carries all links to inner nodes. | |
| std::vector< DirectedNode< EntryType, MetaInfoType > * > | m_outerNodes |
| Carries all links to outer nodes. | |
| MetaInfoType | m_metaInfo |
| Contains a MetaInfo for doing extra-stuff (whatever you need) | |
| short | m_family |
| Identifier for all connected nodes. | |
Protected Member Functions | |
| DirectedNode (EntryType &entry) | |
| ************************* CONSTRUCTORS ************************* | |
| DirectedNode (const DirectedNode &node)=delete | |
| Forbid copy constructor. | |
| DirectedNode & | operator= (const DirectedNode &node)=delete |
| Forbid assignment operator. | |
| void | addInnerNode (DirectedNode< EntryType, MetaInfoType > &newNode) |
| ************************* INTERNAL MEMBER FUNCTIONS ************************* | |
| void | addOuterNode (DirectedNode< EntryType, MetaInfoType > &newNode) |
| Adds new links to the outward direction. | |
Friends | |
| template<typename AnyType , typename AnyOtherType > | |
| class | DirectedNodeNetwork |
| Only the DirectedNodeNetwork can create DirectedNodes and link them. | |
The Node-Class.
Carries an instance of a class which shall be woven into a network. additionally a Cell can be attached for Cellular Automaton functionality. If you don't need the Cell-features, just insert an empty dummy-class. or use ../tracking/trackFindingVXD/segmentNetwork/VoidMetaInfo.h, where such a dummy class is defined.
Prerequisites for template EntryType:
Definition at line 31 of file DirectedNode.h.
|
inlineexplicitprotected |
************************* CONSTRUCTORS *************************
Protected constructor. accepts an entry which can not be changed any more
Definition at line 38 of file DirectedNode.h.
|
inlineprotected |
************************* INTERNAL MEMBER FUNCTIONS *************************
Adds new links to the inward direction
Definition at line 55 of file DirectedNode.h.
|
inlineprotected |
Adds new links to the outward direction.
Definition at line 62 of file DirectedNode.h.
|
inline |
Allows const access to stored entry (needed for external operator overload.
Definition at line 95 of file DirectedNode.h.
|
inline |
|
inline |
|
inline |
************************* PUBLIC MEMBER FUNCTIONS *************************
Getters Returns links to all inner nodes attached to this one
Definition at line 86 of file DirectedNode.h.
|
inline |
Returns reference to MetaInfoType attached to this node.
Definition at line 101 of file DirectedNode.h.
|
inline |
Returns links to all outer nodes attached to this one.
Definition at line 89 of file DirectedNode.h.
|
inline |
|
inline |
!= -operator - compares if two nodes are not identical
Definition at line 74 of file DirectedNode.h.
|
inline |
== -operator - compares if the entry passed is not identical with the one linked in this node
Definition at line 80 of file DirectedNode.h.
|
inline |
************************* OPERATORS *************************
== -operator - compares if two nodes are identical
Definition at line 71 of file DirectedNode.h.
|
inline |
== -operator - compares if the entry passed is identical with the one linked in this node
Definition at line 77 of file DirectedNode.h.
|
inline |
Assign a family identifier to this cell.
Definition at line 107 of file DirectedNode.h.
|
friend |
Only the DirectedNodeNetwork can create DirectedNodes and link them.
Definition at line 33 of file DirectedNode.h.
| EntryType& m_entry |
************************* DATA MEMBERS *************************
Entry can be of any type, DirectedNode is just the carrier
Definition at line 112 of file DirectedNode.h.
| short m_family |
Identifier for all connected nodes.
Definition at line 124 of file DirectedNode.h.
| std::vector<DirectedNode<EntryType, MetaInfoType>*> m_innerNodes |
Carries all links to inner nodes.
Definition at line 115 of file DirectedNode.h.
| MetaInfoType m_metaInfo |
Contains a MetaInfo for doing extra-stuff (whatever you need)
Definition at line 121 of file DirectedNode.h.
| std::vector<DirectedNode<EntryType, MetaInfoType>*> m_outerNodes |
Carries all links to outer nodes.
Definition at line 118 of file DirectedNode.h.