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) | |
virtual int | id (const DDExpandedView &) const |
calculate the id of a given node More... | |
virtual int | id (const DDNumberingScheme::nav_type &) const |
calculate the id of a given node More... | |
virtual int | id (const DDFilteredView &) const |
calculate the id of a given node More... | |
virtual bool | node (int id, DDExpandedView &view) const |
calculate the node given an id More... | |
virtual bool | node (int id, DDFilteredView &view) const |
calculate the node given an id More... | |
virtual | ~DDDefaultNumberingScheme () |
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 14 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 39 of file DDNumberingScheme.cc.
References KineDebug3::count(), f, DDFilteredView::navPos(), DDFilteredView::next(), and DDFilteredView::reset().
|
virtual |
Definition at line 58 of file DDNumberingScheme.cc.
|
virtual |
calculate the id of a given node
Implements DDNumberingScheme.
Definition at line 62 of file DDNumberingScheme.cc.
References DDNumberingScheme::id(), and DDExpandedView::navPos().
|
virtual |
calculate the id of a given node
Implements DDNumberingScheme.
Definition at line 74 of file DDNumberingScheme.cc.
References mps_fire::result.
|
virtual |
calculate the id of a given node
Implements DDNumberingScheme.
Definition at line 68 of file DDNumberingScheme.cc.
References DDNumberingScheme::id(), and DDFilteredView::navPos().
|
protected |
Definition at line 98 of file DDNumberingScheme.cc.
References DDNumberingScheme::id(), and mps_fire::result.
|
virtual |
calculate the node given an id
returns true, if a node was found. view then corresponds to this node.
Implements DDNumberingScheme.
Definition at line 84 of file DDNumberingScheme.cc.
References DDExpandedView::goTo().
|
virtual |
calculate the node given an id
returns true, if a node was found. view then corresponds to this node.
Implements DDNumberingScheme.
Definition at line 90 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.