#include <tcp.h>
Public Member Functions | |
Sequence_Number () | |
Default constructor. | |
Sequence_Number (const Sequence_Number &n) | |
ADD DOCUMENTATION HERE. | |
Sequence_Number & | operator= (const Sequence_Number &n) |
ADD DOCUMENTATION HERE. | |
Sequence_Number & | operator= (const int &rep) |
ADD DOCUMENTATION HERE. | |
bool | operator== (const Sequence_Number &n) const |
ADD DOCUMENTATION HERE. | |
bool | operator!= (const Sequence_Number &n) const |
ADD DOCUMENTATION HERE. | |
bool | operator> (const Sequence_Number &n) const |
ADD DOCUMENTATION HERE. | |
bool | operator>= (const Sequence_Number &n) const |
ADD DOCUMENTATION HERE. | |
bool | operator< (const Sequence_Number &n) const |
ADD DOCUMENTATION HERE. | |
bool | operator<= (const Sequence_Number &n) const |
ADD DOCUMENTATION HERE. | |
Sequence_Number | operator+ (const int n) const |
ADD DOCUMENTATION HERE. | |
Sequence_Number & | operator+= (const int n) |
ADD DOCUMENTATION HERE. | |
Sequence_Number | operator- (const int n) const |
ADD DOCUMENTATION HERE. | |
Sequence_Number & | operator-= (const int n) |
ADD DOCUMENTATION HERE. | |
int | operator- (const Sequence_Number &n) const |
ADD DOCUMENTATION HERE. | |
int | value () const |
Access to internal representation. | |
Protected Member Functions | |
Sequence_Number (int n) | |
ADD DOCUMENTATION HERE. | |
Protected Attributes | |
int | seq |
ADD DOCUMENTATION HERE. | |
Friends | |
Sequence_Number | operator+ (const int n1, const Sequence_Number &n2) |
ADD DOCUMENTATION HERE. | |
std::ostream & | operator<< (std::ostream &os, const Sequence_Number &n) |
ADD DOCUMENTATION HERE. |