Default numbering scheme. More...
#include <DDNumberingScheme.h>
Public Types | |
typedef DDNumberingScheme::nav_type | nav_type |
Public Types inherited from DDNumberingScheme | |
typedef std::vector< int > | nav_type |
Public Member Functions | |
DDDefaultNumberingScheme (const DDExpandedView &e) | |
DDDefaultNumberingScheme (const DDFilteredView &f) | |
int | id (const DDExpandedView &) const override |
calculate the id of a given node More... | |
int | id (const DDNumberingScheme::nav_type &) const override |
calculate the id of a given node More... | |
int | id (const DDFilteredView &) const override |
calculate the id of a given node More... | |
bool | node (int id, DDExpandedView &view) const override |
calculate the node given an id More... | |
bool | node (int id, DDFilteredView &view) const override |
calculate the node given an id More... | |
~DDDefaultNumberingScheme () override | |
Public Member Functions inherited from DDNumberingScheme | |
virtual | ~DDNumberingScheme () |
Protected Member Functions | |
DDNumberingScheme::nav_type | idToNavType (int id) const |
Protected Attributes | |
std::vector< std::map< nav_type, int >::iterator > | id2path_ |
std::map< nav_type, int > | path2id_ |
Default numbering scheme.
implements a default - numbering scheme throws an DDException when it fails ...
Definition at line 54 of file DDNumberingScheme.h.
Definition at line 57 of file DDNumberingScheme.h.
DDDefaultNumberingScheme::DDDefaultNumberingScheme | ( | const DDExpandedView & | e | ) |
Definition at line 12 of file DDNumberingScheme.cc.
References KineDebug3::count(), MillePedeFileConverter_cfg::e, DDExpandedView::navPos(), DDExpandedView::next(), and DDExpandedView::reset().
DDDefaultNumberingScheme::DDDefaultNumberingScheme | ( | const DDFilteredView & | f | ) |
Definition at line 37 of file DDNumberingScheme.cc.
References KineDebug3::count(), f, DDFilteredView::navPos(), DDFilteredView::next(), and DDFilteredView::reset().
|
override |
Definition at line 56 of file DDNumberingScheme.cc.
|
overridevirtual |
calculate the id of a given node
Implements DDNumberingScheme.
Definition at line 60 of file DDNumberingScheme.cc.
References DDNumberingScheme::id(), and DDExpandedView::navPos().
|
overridevirtual |
calculate the id of a given node
Implements DDNumberingScheme.
Definition at line 72 of file DDNumberingScheme.cc.
References mps_fire::result.
|
overridevirtual |
calculate the id of a given node
Implements DDNumberingScheme.
Definition at line 66 of file DDNumberingScheme.cc.
References DDNumberingScheme::id(), and DDFilteredView::navPos().
|
protected |
Definition at line 96 of file DDNumberingScheme.cc.
References DDNumberingScheme::id(), and mps_fire::result.
|
overridevirtual |
calculate the node given an id
returns true, if a node was found. view then corresponds to this node.
Implements DDNumberingScheme.
Definition at line 82 of file DDNumberingScheme.cc.
References DDExpandedView::goTo().
|
overridevirtual |
calculate the node given an id
returns true, if a node was found. view then corresponds to this node.
Implements DDNumberingScheme.
Definition at line 88 of file DDNumberingScheme.cc.
References DDFilteredView::goTo().
|
protected |
Definition at line 88 of file DDNumberingScheme.h.
|
protected |
Definition at line 87 of file DDNumberingScheme.h.