My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::util::Range< Type > Class Template Reference

Public Member Functions

 Range ()
 
 Range (Type start, Type stop)
 
virtual ~Range ()
 
void setStart (Type start)
 
void setStop (Type stop)
 
Type start ()
 
Type stop ()
 
Rangeoperator+= (Type incr)
 
Rangeoperator*= (Type mult)
 

Friends

std::ostream & gcp::util::operator<< (std::ostream &os, const Range< Type > &range)
 

Constructor & Destructor Documentation

template<class Type >
gcp::util::Range< Type >::Range ( )

Constructor.

Constructor

template<class Type >
gcp::util::Range< Type >::Range ( Type  start,
Type  stop 
)

Constructor.

template<class Type >
gcp::util::Range< Type >::~Range ( )
virtual

Destructor.

Destructor

Member Function Documentation

template<class Type >
Range< Type > & gcp::util::Range< Type >::operator*= ( Type  mult)

Declare an operator for multiplying this object

Multiply this object

template<class Type >
Range< Type > & gcp::util::Range< Type >::operator+= ( Type  incr)

Declare an operator for incrementing this object

Increment this object

template<class Type >
void gcp::util::Range< Type >::setStart ( Type  start)

Set the start of the range.

template<class Type >
void gcp::util::Range< Type >::setStop ( Type  stop)

Set the end of the range.

template<class Type >
Type gcp::util::Range< Type >::start ( )

Get the start of the range.

template<class Type >
Type gcp::util::Range< Type >::stop ( )

Get the end of the range.

Friends And Related Function Documentation

template<class Type>
std::ostream& gcp::util::operator<< ( std::ostream &  os,
const Range< Type > &  range 
)
friend

Declare a Range printing method


The documentation for this class was generated from the following file: