text cover

Data Abstraction and Problem Solving with C++

Walls and Mirrors

by Frank M. Carrano

Addison Wesley Logo

Ball Class Reference

#include <Ball414.h>

Inheritance diagram for Ball:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 26 of file Ball414.h.

Public Member Functions

 Ball ()
 Ball (double initialRadius, const string initialName)
void getName (string &currentName) const
void setName (const string &newName)
void resetBall (double newRadius, const string newName)
void displayStatistics () const

Private Attributes

string theName


Constructor & Destructor Documentation

Ball::Ball  ) 
 

Ball::Ball double  initialRadius,
const string  initialName
 


Member Function Documentation

void Ball::getName string &  currentName  )  const
 

void Ball::setName const string &  newName  ) 
 

void Ball::resetBall double  newRadius,
const string  newName
 

void Ball::displayStatistics  )  const [virtual]
 

Reimplemented from Sphere.


Member Data Documentation

string Ball::theName [private]
 

Definition at line 38 of file Ball414.h.


The documentation for this class was generated from the following file:

Generated on Sun Aug 27 19:59:38 2006 for AWLogo by  doxygen 1.4.6