code::LocationCPoint Class Reference

List of all members.

Detailed Description

Wraps a Location and its CPoint together so that either value can be quickly extracted.

2009/06/02 20:17:38

Public Member Functions

 LocationCPoint ()
 Default constructor creates an invalid object.
 LocationCPoint (const Location &)
 Create the Location and CPoint.
const LocationgetLocation () const
const CPointgetCPoint () const
void setHeight (const code::Length &)


std::ostream & operator<< (std::ostream &, const code::LocationCPoint &)
 Print both Location and CPoint.

Constructor & Destructor Documentation

code::LocationCPoint::LocationCPoint (  )  [inline]

Default constructor creates an invalid object.

For STL convenience only.

code::LocationCPoint::LocationCPoint ( const Location  ) 

Create the Location and CPoint.

Member Function Documentation

const CPoint& code::LocationCPoint::getCPoint (  )  const [inline]

const Location& code::LocationCPoint::getLocation (  )  const [inline]

void code::LocationCPoint::setHeight ( const code::Length  ) 

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const code::LocationCPoint  
) [friend]

Print both Location and CPoint.

Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7