Base for user specfic numbering schemes. More...
#include <DDNumberingScheme.h>
Public Types | |
typedef std::vector< int > | nav_type |
Public Member Functions | |
virtual int | id (const DDExpandedView &) const =0 |
calculate the id of a given node | |
virtual int | id (const nav_type &) const =0 |
calculate the id of a given node | |
virtual int | id (const DDFilteredView &) const =0 |
calculate the id of a given node | |
virtual bool | node (int id, DDFilteredView &view) const =0 |
calculate the node given an id | |
virtual bool | node (int id, DDExpandedView &view) const =0 |
calculate the node given an id | |
virtual | ~DDNumberingScheme () |
Base for user specfic numbering schemes.
implements a default - numbering scheme throws an DDException when it fails ...
Definition at line 15 of file DDNumberingScheme.h.
typedef std::vector<int> DDNumberingScheme::nav_type |
Reimplemented in DDDefaultNumberingScheme.
Definition at line 18 of file DDNumberingScheme.h.
DDNumberingScheme::~DDNumberingScheme | ( | ) | [virtual] |
Definition at line 8 of file DDNumberingScheme.cc.
{}
virtual int DDNumberingScheme::id | ( | const DDExpandedView & | ) | const [pure virtual] |
calculate the id of a given node
Implemented in DDDefaultNumberingScheme.
virtual int DDNumberingScheme::id | ( | const DDFilteredView & | ) | const [pure virtual] |
calculate the id of a given node
Implemented in DDDefaultNumberingScheme.
virtual int DDNumberingScheme::id | ( | const nav_type & | ) | const [pure virtual] |
calculate the id of a given node
Implemented in DDDefaultNumberingScheme.
virtual bool DDNumberingScheme::node | ( | int | id, |
DDExpandedView & | view | ||
) | const [pure virtual] |
calculate the node given an id
returns true, if a node was found. view then corresponds to this node.
Implemented in DDDefaultNumberingScheme.
virtual bool DDNumberingScheme::node | ( | int | id, |
DDFilteredView & | view | ||
) | const [pure virtual] |
calculate the node given an id
returns true, if a node was found. view then corresponds to this node.
Implemented in DDDefaultNumberingScheme.