shawn::Energy Class Reference

#include <energy.h>

Collaboration diagram for shawn::Energy:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Energy ()
 Energy (const Energy &e)
 Energy (unsigned int v)
 ~Energy ()
Energyoperator= (const Energy &e)
bool is_infinite (void) const throw ()
bool is_finite (void) const throw ()
bool operator== (const Energy &e) const throw ()
bool operator< (const Energy &e) const throw ()
bool operator> (const Energy &e) const throw ()
bool operator<= (const Energy &e) const throw ()
bool operator>= (const Energy &e) const throw ()
bool operator!= (const Energy &e) const throw ()
Energy operator+ (const Energy &e) const throw ()
Energy operator- (const Energy &e) const throw ()
Energyoperator+= (const Energy &e) throw ()
Energyoperator-= (const Energy &e) throw ()

Static Public Attributes

static unsigned int INFINITE_ENERGY_VAL
static Energy INFINITE_ENERGY

Friends

std::ostream & operator<< (std::ostream &os, const Energy &e)


Constructor & Destructor Documentation

shawn::Energy::Energy (  )  [inline]

Here is the caller graph for this function:

shawn::Energy::Energy ( const Energy e  )  [inline]

shawn::Energy::Energy ( unsigned int  v  )  [inline]

shawn::Energy::~Energy (  )  [inline]


Member Function Documentation

Energy& shawn::Energy::operator= ( const Energy e  )  [inline]

bool shawn::Energy::is_infinite ( void   )  const throw () [inline]

Here is the caller graph for this function:

bool shawn::Energy::is_finite ( void   )  const throw () [inline]

bool shawn::Energy::operator== ( const Energy e  )  const throw () [inline]

bool shawn::Energy::operator< ( const Energy e  )  const throw () [inline]

bool shawn::Energy::operator> ( const Energy e  )  const throw () [inline]

bool shawn::Energy::operator<= ( const Energy e  )  const throw () [inline]

bool shawn::Energy::operator>= ( const Energy e  )  const throw () [inline]

bool shawn::Energy::operator!= ( const Energy e  )  const throw () [inline]

Energy shawn::Energy::operator+ ( const Energy e  )  const throw () [inline]

Here is the call graph for this function:

Energy shawn::Energy::operator- ( const Energy e  )  const throw () [inline]

Here is the call graph for this function:

Energy& shawn::Energy::operator+= ( const Energy e  )  throw () [inline]

Energy& shawn::Energy::operator-= ( const Energy e  )  throw () [inline]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Energy e 
) [friend]


Member Data Documentation

unsigned int shawn::Energy::INFINITE_ENERGY_VAL [static]


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

Generated on Sun Feb 5 00:00:56 2012 for Shawn by  doxygen 1.5.6