In file point.h:

class XxxPointADT : public XxxSmallFixedADT

XxxPointADT: Basic ADT for handling any generic point data

Inheritance:


Public Classes

class PlanInfo : public XxxFuncPlanInfo
Plan structure for function over Point

Public Fields

public : static XxxBasicType PointTypeId
Point Type ID

Public Methods

virtual XxxBool Equals (const XxxADTValue* Obj1, const XxxADTMetaInfo*, const XxxADTValue* Obj2, const XxxADTMetaInfo*)
Equals method between points.
virtual XxxBool GetBoundingBox (const XxxADTValue*& Object, XxxBoundingBox& Box)
Retrieves the bounding box of this spatial data type
virtual XxxErrCode GetCompOp (const char* FName, XxxCompareOp& CompOp, XxxBool& Success)
Retrieves the compare method given a function name and a array of arguments for that function
virtual XxxErrCode ReadText (istream& InStream, XxxADTValue* ObjectRef, const XxxADTMetaInfo* MetaInfo)
Input function for loading points into tables
virtual XxxErrCode WriteText (ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo* MetaInfo)
Display function for the txtclient protocol
XxxPointADT (XxxBasicType Id)
Constructor for XxxPointADT
virtual ~XxxPointADT ()
Destructor for XxxPointADT

Inherited from XxxSmallFixedADT:


Inherited from XxxSmallADT:

Public Methods

virtual XxxBool IsSmall(const XxxADTMetaInfo*)

Documentation

XxxPointADT: Basic ADT for handling any generic point data. Points are stored as fixed size objects within a record and simply contain the x and y coordinates. Currently-supported methods include make_box(), make_circle(), inside(), outside(), x(), equals(), and y().
public : static XxxBasicType PointTypeId
Point Type ID

class PlanInfo: public XxxFuncPlanInfo
Plan structure for function over Point

XxxPointADT(XxxBasicType Id)
Constructor for XxxPointADT

virtual ~XxxPointADT()
Destructor for XxxPointADT

virtual XxxErrCode WriteText(ostream& OutStream, const XxxADTValue* Object, const XxxADTMetaInfo* MetaInfo)
Display function for the txtclient protocol.
Returns:
The status code.
Parameters:
OutStream - Output stream to write to.
Object - Buffer containing the PointStruct.
MetaInfo - Meta info for points.

virtual XxxErrCode ReadText(istream& InStream, XxxADTValue* ObjectRef, const XxxADTMetaInfo* MetaInfo)
Input function for loading points into tables.
Returns:
The status code.
Parameters:
is - Input stream from which to read the PointStruct.
ObjectRef - Buffer in which to store the PointStruct.
MetaInfo - Meta info for points.

virtual XxxBool Equals(const XxxADTValue* Obj1, const XxxADTMetaInfo*, const XxxADTValue* Obj2, const XxxADTMetaInfo*)
Equals method between points.

virtual XxxBool GetBoundingBox(const XxxADTValue*& Object, XxxBoundingBox& Box)
Retrieves the bounding box of this spatial data type. Used by the indexing methods.

virtual XxxErrCode GetCompOp(const char* FName, XxxCompareOp& CompOp, XxxBool& Success)
Retrieves the compare method given a function name and a array of arguments for that function. This is used in index scans and is index independent.


This class has no child classes.
Author:
Dave Koster dkoster@cs.cornell.edu
Version:
6/17/97
See Also:
geometry.h

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de