#include <position.h>
Inheritance diagram for wpair:
Public Member Functions | |
wpair (const int v=0) | |
wpair (const int a, const int b) | |
wpair (const wpair &Rhs) | |
virtual | ~wpair () |
bool | operator== (const wpair &Rhs) const |
bool | operator!= (const wpair &Rhs) const |
bool | operator> (const wpair &Rhs) const |
bool | operator< (const wpair &Rhs) const |
bool | operator>= (const wpair &Rhs) const |
bool | operator<= (const wpair &Rhs) const |
wpair | between (const wpair &Min, const wpair &Max) const |
Static Public Member Functions | |
wpair | min (const wpair &Lhs, const wpair &Rhs) |
wpair | max (const wpair &Lhs, const wpair &Rhs) |
Protected Member Functions | |
wpair & | operator= (const wpair &Rhs) |
wpair & | operator+= (const wpair &Rhs) |
wpair & | operator-= (const wpair &Rhs) |
wpair & | operator *= (const wpair &Rhs) |
wpair & | operator/= (const wpair &Rhs) |
wpair | operator+ (const wpair &Rhs) const |
wpair | operator- (const wpair &Rhs) const |
wpair | operator * (const wpair &Rhs) const |
wpair | operator/ (const wpair &Rhs) const |
Protected Attributes | |
int | A |
int | B |
Friends | |
std::ostream & | operator<< (std::ostream &STREAM, const wpair &OBJ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|