okteta
KDE::Range< T > Class Template Reference
#include <range.h>
Inheritance diagram for KDE::Range< T >:
Public Member Functions | |
Range (T S, T E) | |
Range () | |
~Range () | |
T | end () const |
bool | endsBefore (T Value) const |
bool | endsBefore (const Range &R) const |
bool | endsBehind (T Value) const |
bool | endsBehind (const Range &R) const |
void | extendEndTo (T Limit) |
void | extendStartTo (T Limit) |
void | extendTo (const Range &Limit) |
bool | includes (T Value) const |
bool | includes (const Range &R) const |
bool | includesInside (T Value) const |
bool | includesInside (const Range &R) const |
bool | isEmpty () const |
bool | isValid () const |
void | moveBy (T D) |
void | moveEndBy (T D) |
void | moveStartBy (T D) |
Range & | operator= (const Range &R) |
bool | operator== (const Range &R) const |
bool | overlaps (const Range &R) const |
void | restrictEndTo (T Limit) |
void | restrictStartTo (T Limit) |
void | restrictTo (const Range &Limit) |
void | set (T S, T E) |
void | set (const Range &R) |
void | setEnd (T E) |
void | setStart (T S) |
T | start () const |
bool | startsBefore (T Value) const |
bool | startsBefore (const Range &R) const |
bool | startsBehind (T Value) const |
bool | startsBehind (const Range &R) const |
void | unset () |
Protected Member Functions | |
const T | null () const |
Protected Attributes | |
T | End |
T | Start |
Detailed Description
template<typename T>
class KDE::Range< T >
This template describes a range.
A range is something with a start and an end. The start is a value relative before the end. The distance cannot be estimated.
Constructor & Destructor Documentation
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
Member Function Documentation
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
|
inlineprotected |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
template<typename T>
|
inline |
Member Data Documentation
template<typename T>
|
protected |
template<typename T>
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.