#include <Phi.h>
Public Member Functions | |
Phi () | |
Phi (double init) | |
Phi (const Phi &src) | |
Phi & | operator= (const Phi &rhs) |
Phi & | operator+= (Phi &rhs) |
Phi & | operator-= (Phi &in) |
Phi | operator+ (Phi &in) const |
Phi | operator- (Phi &in) const |
bool | operator< (Phi &in) const |
bool | operator> (Phi &in) const |
operator double () const | |
double | lowerLimit () const |
double | upperLimit () const |
double | range () const |
double | val () const |
Private Member Functions | |
void | reduce () |
Private Attributes | |
double | m_val |
Static Private Attributes | |
static const double | s_upperLimit |
static const double | s_lowerLimit |
static const double | s_range |
Definition at line 41 of file Phi.h.
Phi::Phi | ( | double | init | ) | [inline] |
Phi::Phi | ( | const Phi & | src | ) | [inline] |
void Phi::reduce | ( | ) | [inline, private] |
Definition at line 47 of file Phi.h.
00047 { 00048 while( m_val > s_upperLimit ) { m_val -= s_range ; } 00049 while( m_val <= s_lowerLimit ) { m_val += s_range ; } 00050 }
bool Phi::operator< | ( | Phi & | in | ) | const [inline] |
bool Phi::operator> | ( | Phi & | in | ) | const [inline] |
Phi::operator double | ( | ) | const [inline] |
double Phi::lowerLimit | ( | ) | const [inline] |
double Phi::upperLimit | ( | ) | const [inline] |
double Phi::m_val [private] |
const double Phi::s_upperLimit [static, private] |
const double Phi::s_lowerLimit [static, private] |
const double Phi::s_range [static, private] |