misc::Ratio Class Reference

Class representing a ratio. More...

#include <ratio.h>

List of all members.

Public Member Functions

 Ratio ()
 Default constructor.
 Ratio (int32_t x, int32_t y)
 Constructor setting x and y.
 Ratio (Ratio const &r)
 Copy constructor.
Ratiooperator= (Ratio const &right)
 Assignment operator.
bool operator== (Ratio const &right)
 Comparison operator.
int32_t x () const
 Returns the X value.
int32_t x (int32_t x)
 Sets the X value.
int32_t y () const
 Returns the Y value.
int32_t y (int32_t y)
 Sets the Y value.


Detailed Description

This class is used to represent a ratio.


The documentation for this class was generated from the following file:
Generated on Wed Aug 15 00:37:23 2007 for Epona API by  doxygen 1.5.2