Main Page   Compound List   File List   Compound Members   File Members   Related Pages  

XyRtree Class Reference

The class serves as a handle to XyRtreeRep. More...

#include <Rtree.h>

List of all members.

Public Methods

Rhrh ()
Rhrh (RecId &recId)
void init ()
 XyRtree ()
void setRep (XyRtreeRep *rep)
 XyRtree (XyRtreeRep *rep)
void setUfRep ()
 ~XyRtree ()
void destroyRep ()
void removeAll ()
int insertRecord (RecId &recId)
int insertRecord (int idx)
int deleteRecord (RecId &recId)
int deleteRecord (int idx)
int createSearcher (Searcher &searcher)
int createSearcher (Searcher &searcher, XyRange &rng)
void printLevel (short levelIdx)
void printLevels (short topLevelIdx=0, short bottomLevelIdx=-1)
void printSearch (Searcher &searcher)
void printSearch (Searcher &searcher, XyRange &rng)
void printSearch (Searcher &searcher, XyPoint &ll, XyPoint &ur)
void printSearch (XyRange &rng)
void printSearch (XyPoint &ll, XyPoint &ur)
void expropriate ()
XyRtree & operator= (XyRtree &)

Public Attributes

RhrhPrototype
XyRange overallRange
int numRecords

Protected Attributes

XyRtreeReprep

Friends

class Searcher


Detailed Description

The class serves as a handle to XyRtreeRep.

Parameters:
rep  is an R-tree representation.
rhPrototype  is a prototype of a record handle, which enables to interpret records separately from the R-tree representation.
overallRange  is the xy-range of all records in the R-tree.
numRecords  is the number of records in the R-tree.


Constructor & Destructor Documentation

XyRtree   [inline]
 

XyRtree XyRtreeRep   rep [inline]
 

~XyRtree  
 


Member Function Documentation

Rh* rh   [inline]
 

Rh* rh RecId   recId [inline]
 

void init  
 

void setRep XyRtreeRep   rep
 

void setUfRep  
 

void destroyRep  
 

void removeAll   [inline]
 

int insertRecord RecId   recId [inline]
 

int insertRecord int    idx [inline]
 

int deleteRecord RecId   recId [inline]
 

int deleteRecord int    idx [inline]
 

int createSearcher Searcher   searcher [inline]
 

int createSearcher Searcher   searcher,
XyRange   rng
[inline]
 

void printLevel short    levelIdx [inline]
 

void printLevels short    topLevelIdx = 0,
short    bottomLevelIdx = -1
[inline]
 

void printSearch Searcher   searcher
 

void printSearch Searcher   searcher,
XyRange   rng
[inline]
 

void printSearch Searcher   searcher,
XyPoint   ll,
XyPoint   ur
[inline]
 

void printSearch XyRange   rng [inline]
 

void printSearch XyPoint   ll,
XyPoint   ur
[inline]
 

void expropriate   [inline]
 

XyRtree& operator= XyRtree &   
 


Friends And Related Function Documentation

friend class Searcher [friend]
 


Member Data Documentation

XyRtreeRep* rep [protected]
 

Rh* rhPrototype
 

XyRange overallRange
 

int numRecords
 


Generated on Mon Mar 24 22:59:19 2003 for Mg R-tree Library by doxygen1.2.16