CMS 3D CMS Logo

Public Types | Public Member Functions

DDNumberingScheme Class Reference

Base for user specfic numbering schemes. More...

#include <DDNumberingScheme.h>

Inheritance diagram for DDNumberingScheme:
DDDefaultNumberingScheme

List of all members.

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 ()

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

Reimplemented in DDDefaultNumberingScheme.

Definition at line 18 of file DDNumberingScheme.h.


Constructor & Destructor Documentation

DDNumberingScheme::~DDNumberingScheme ( ) [virtual]

Definition at line 8 of file DDNumberingScheme.cc.

{}

Member Function Documentation

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.