My Project
|
Public Member Functions | |
Range () | |
Range (Type start, Type stop) | |
virtual | ~Range () |
void | setStart (Type start) |
void | setStop (Type stop) |
Type | start () |
Type | stop () |
Range & | operator+= (Type incr) |
Range & | operator*= (Type mult) |
Friends | |
std::ostream & | gcp::util::operator<< (std::ostream &os, const Range< Type > &range) |
gcp::util::Range< Type >::Range | ( | ) |
Constructor.
Constructor
gcp::util::Range< Type >::Range | ( | Type | start, |
Type | stop | ||
) |
Constructor.
|
virtual |
Destructor.
Destructor
Range< Type > & gcp::util::Range< Type >::operator*= | ( | Type | mult | ) |
Declare an operator for multiplying this object
Multiply this object
Range< Type > & gcp::util::Range< Type >::operator+= | ( | Type | incr | ) |
Declare an operator for incrementing this object
Increment this object
void gcp::util::Range< Type >::setStart | ( | Type | start | ) |
Set the start of the range.
void gcp::util::Range< Type >::setStop | ( | Type | stop | ) |
Set the end of the range.
Type gcp::util::Range< Type >::start | ( | ) |
Get the start of the range.
Type gcp::util::Range< Type >::stop | ( | ) |
Get the end of the range.
|
friend |
Declare a Range printing method