Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

ODPoint Class Reference

#include <ODPoint.hpp>

Inheritance diagram for ODPoint::

OPoint OGraphic List of all members.

Public Methods

OGraphicclone () const
OGraphiccreate () const
 ODPoint ()
 ODPoint (int, int, int=1)
 ODPoint (OPoint &, int=1)
 ~ODPoint ()
bool isValid ()
void move (int, int, int=0)
bool operator== (ODPoint &)
bool operator!= (ODPoint &)
void gomo (ostream &)
void gomi (istream &)
void xmlo (ostream &)
void clear ()
void setDepth (int)
int getDepth ()
int getDDepth (ODPoint &)

Protected Attributes

int d

Detailed Description

ODPoint object a depth point object
Examples:

PExample.cpp.


Constructor & Destructor Documentation

ODPoint::ODPoint  
 

Constructor

ODPoint::ODPoint int    x,
int    y,
int    d = 1
 

Constructor

ODPoint::ODPoint OPoint   p,
int    d = 1
 

Constructor

ODPoint::~ODPoint  
 

Destructor


Member Function Documentation

void ODPoint::clear   [inline]
 

Clear the x;y values

Reimplemented from OPoint.

OGraphic * ODPoint::clone   const [inline, virtual]
 

Clone the point object

Reimplemented from OPoint.

OGraphic * ODPoint::create   const [inline, virtual]
 

Create a new point object

Reimplemented from OPoint.

int ODPoint::getDDepth ODPoint &    p [inline]
 

int ODPoint::getDepth   [inline]
 

void ODPoint::gomi istream &    is [virtual]
 

GOM input

Reimplemented from OPoint.

void ODPoint::gomo ostream &    os [virtual]
 

GOM output

Reimplemented from OPoint.

bool ODPoint::isValid  
 

Is valid

Reimplemented from OPoint.

void ODPoint::move int    dx,
int    dy,
int    dd = 0
 

Move

bool ODPoint::operator!= ODPoint &    p
 

!= operator

bool ODPoint::operator== ODPoint &    p
 

== operator

void ODPoint::setDepth int    d [inline]
 

void ODPoint::xmlo ostream &    os [virtual]
 

XML output

Reimplemented from OPoint.


Member Data Documentation

int ODPoint::d [protected]
 


The documentation for this class was generated from the following files:
Generated on Fri Jul 30 19:21:02 2004 for GOMLib by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001