Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

cavewriting::Spot Class Reference

#include <Spot.H>

List of all members.

Public Member Functions

 Spot (Word *word=NULL, CoordinateFrame frame=CoordinateFrame(), double width=0)
 Spot (const Spot &spot)
virtual ~Spot ()
void makeEmpty ()
void placeWord (Word *word)
WordgetWord ()
void setFrame (CoordinateFrame &frame)
 Move this spot to this location.
void setCoordinateFrame (CoordinateFrame &frame)
CoordinateFrame getCoordinateFrame ()
bool isEmpty ()
void updateWidth ()
 Get the width from the current _word.
double getWidth ()
bool willFit (double widthNeeded)

Protected Attributes

Word_word
CoordinateFrame _frame
double _width


Constructor & Destructor Documentation

cavewriting::Spot::Spot Word word = NULL,
CoordinateFrame  frame = CoordinateFrame(),
double  width = 0
 

cavewriting::Spot::Spot const Spot spot  ) 
 

virtual cavewriting::Spot::~Spot  )  [virtual]
 


Member Function Documentation

CoordinateFrame cavewriting::Spot::getCoordinateFrame  )  [inline]
 

double cavewriting::Spot::getWidth  )  [inline]
 

Word* cavewriting::Spot::getWord  )  [inline]
 

bool cavewriting::Spot::isEmpty  ) 
 

void cavewriting::Spot::makeEmpty  ) 
 

void cavewriting::Spot::placeWord Word word  ) 
 

Put this word in this spot. Update this spot's width with the width of the new word

void cavewriting::Spot::setCoordinateFrame CoordinateFrame &  frame  )  [inline]
 

void cavewriting::Spot::setFrame CoordinateFrame &  frame  ) 
 

Move this spot to this location.

void cavewriting::Spot::updateWidth  ) 
 

Get the width from the current _word.

bool cavewriting::Spot::willFit double  widthNeeded  ) 
 


Member Data Documentation

CoordinateFrame cavewriting::Spot::_frame [protected]
 

double cavewriting::Spot::_width [protected]
 

Word* cavewriting::Spot::_word [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Apr 17 13:34:28 2005 for cavewriting by  doxygen 1.4.0