Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

wpair Class Reference

#include <position.h>

Inheritance diagram for wpair:

wpos wsze List of all members.

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

static wpair min (const wpair &Lhs, const wpair &Rhs)
static 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)

Constructor & Destructor Documentation

wpair::wpair (  const int  v = 0  )  [inline]
 

wpair::wpair (  const int  a,
const int  b
)  [inline]
 

wpair::wpair (  const wpair &  Rhs  )  [inline]
 

virtual wpair::~wpair (   )  [inline, virtual]
 


Member Function Documentation

wpair wpair::between (  const wpair &  Min,
const wpair &  Max
)  const [inline]
 

static wpair wpair::max (  const wpair &  Lhs,
const wpair &  Rhs
)  [inline, static]
 

static wpair wpair::min (  const wpair &  Lhs,
const wpair &  Rhs
)  [inline, static]
 

wpair wpair::operator * (  const wpair &  Rhs  )  const [inline, protected]
 

Reimplemented in wpos, and wsze.

wpair& wpair::operator *= (  const wpair &  Rhs  )  [inline, protected]
 

Reimplemented in wpos, and wsze.

bool wpair::operator!= (  const wpair &  Rhs  )  const [inline]
 

wpair wpair::operator+ (  const wpair &  Rhs  )  const [inline, protected]
 

Reimplemented in wpos, and wsze.

wpair& wpair::operator+= (  const wpair &  Rhs  )  [inline, protected]
 

Reimplemented in wpos, and wsze.

wpair wpair::operator- (  const wpair &  Rhs  )  const [inline, protected]
 

Reimplemented in wpos, and wsze.

wpair& wpair::operator-= (  const wpair &  Rhs  )  [inline, protected]
 

Reimplemented in wpos, and wsze.

wpair wpair::operator/ (  const wpair &  Rhs  )  const [inline, protected]
 

Reimplemented in wpos, and wsze.

wpair& wpair::operator/= (  const wpair &  Rhs  )  [inline, protected]
 

Reimplemented in wpos, and wsze.

bool wpair::operator< (  const wpair &  Rhs  )  const [inline]
 

bool wpair::operator<= (  const wpair &  Rhs  )  const [inline]
 

wpair& wpair::operator= (  const wpair &  Rhs  )  [inline, protected]
 

bool wpair::operator== (  const wpair &  Rhs  )  const [inline]
 

bool wpair::operator> (  const wpair &  Rhs  )  const [inline]
 

bool wpair::operator>= (  const wpair &  Rhs  )  const [inline]
 


Friends And Related Function Documentation

std::ostream& operator<< (  std::ostream &  STREAM,
const wpair &  OBJ
)  [friend]
 


Member Data Documentation

int wpair::A [protected]
 

int wpair::B [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Sep 14 10:52:56 2005 for yast2-ncurses by  doxygen 1.4.4