ppALIGN API documentation
Pair Class Reference
#include <align.hpp>
Public Member Functions | |
| Pair () | |
| Pair (long _i, long _j) | |
Public Attributes | |
| long | i |
| long | j |
Friends | |
| std::ostream & | operator<< (std::ostream &ost, const Pair &p) |
lexiographic order | |
| bool | operator< (const Pair &p1, const Pair &p2) |
| bool | operator<= (const Pair &p1, const Pair &p2) |
| bool | operator> (const Pair &p1, const Pair &p2) |
| bool | operator>= (const Pair &p1, const Pair &p2) |
| bool | operator== (const Pair &p1, const Pair &p2) |
| bool | operator!= (const Pair &p1, const Pair &p2) |
vector operators | |
|
| |
| Pair & | operator+= (const Pair &p) |
| Pair & | operator-= (const Pair &p) |
| Pair | operator+ (const Pair &p1, const Pair &p2) |
| Pair | operator- (const Pair &p1, const Pair &p2) |
Detailed Description
A pair of integers with lexiographic order.
Definition at line 30 of file align.hpp.
Constructor & Destructor Documentation
| Pair::Pair | ( | ) | [inline] |
| Pair::Pair | ( | long | _i, | |
| long | _j | |||
| ) | [inline] |
Friends And Related Function Documentation
| std::ostream& operator<< | ( | std::ostream & | ost, | |
| const Pair & | p | |||
| ) | [friend] |
Outstream operator.
- Parameters:
-
ost p
- Returns:
- ostream object
Member Data Documentation
The documentation for this class was generated from the following file:
- src/align.hpp