#include <ddgsplay.h>
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. |
this class can be subclassed with other members which map to an unsigned int. The key is a 64 bit value.