Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgSplayKey Class Reference

This class defines the data element stored by the ddgSplay tree. More...

#include <ddgsplay.h>

List of all members.


Public Members

 ddgSplayKey ( void )
The default constructor.

 ddgSplayKey ( unsigned int tree, unsigned int tindex, unsigned int priority )
The initializing constructor.

void set ( ddgSplayKey sk )
Set the value.

int compare ( ddgSplayKey sk )
Compare two keys.

unsigned int index (void)
Get the triangle index part of the key.

unsigned int tree (void)
Get the tree part of the key.

unsigned int key (void)
Get the tree part of the key.

unsigned int _value
Index and Tree and bits combined (for faster comparison).

unsigned short _tree
The tree index.

unsigned short _index
Triangle index.

   struct {
      unsigned short   _tree
      unsigned short   _index
   }_ ti
The value broken into pieces.


Detailed Description

This class defines the data element stored by the ddgSplay tree.

this class can be subclassed with other members which map to an unsigned int. The key is a 64 bit value.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:56 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999