CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
DDNumberingScheme Class Referenceabstract

Base for user specfic numbering schemes. More...

#include <DDNumberingScheme.h>

Inheritance diagram for DDNumberingScheme:
DDDefaultNumberingScheme

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 More...
 
virtual int id (const DDFilteredView &) const =0
 calculate the id of a given node More...
 
virtual int id (const nav_type &) const =0
 calculate the id of a given node More...
 
virtual bool node (int id, DDExpandedView &view) const =0
 calculate the node given an id More...
 
virtual bool node (int id, DDFilteredView &view) const =0
 calculate the node given an id More...
 
virtual ~DDNumberingScheme ()
 

Detailed Description

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.

Member Typedef Documentation

typedef std::vector<int> DDNumberingScheme::nav_type

Definition at line 18 of file DDNumberingScheme.h.

Constructor & Destructor Documentation

DDNumberingScheme::~DDNumberingScheme ( )
virtual

Definition at line 10 of file DDNumberingScheme.cc.

10 {}

Member Function Documentation

virtual int DDNumberingScheme::id ( const DDExpandedView ) const
pure virtual

calculate the id of a given node

Implemented in DDDefaultNumberingScheme.

Referenced by DDDefaultNumberingScheme::id(), and DDDefaultNumberingScheme::idToNavType().

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.