BALL
1.4.2
|
#include <BALL/DATATYPE/triple.h>
Public Member Functions | |
virtual void | clear () |
Constructors and Destructors | |
Triple () | |
Triple (const Triple &triple, bool deep=true) | |
Triple (const T1 &new_first, const T2 &new_second, const T3 &new_third) | |
virtual | ~Triple () |
Assignment | |
const Triple & | operator= (const Triple &triple) |
void | set (const T1 &t1, const T2 &t2, const T3 &t3) |
void | get (T1 &first, T2 &second, T3 &third) const |
Predicates | |
bool | operator== (const Triple &triple) const |
bool | operator!= (const Triple &triple) const |
bool | operator< (const Triple &triple) const |
bool | operator<= (const Triple &triple) const |
bool | operator>= (const Triple &triple) const |
bool | operator> (const Triple &triple) const |
Public Attributes | |
Attributes | |
T1 | first |
T2 | second |
T3 | third |
Triple Class. This template class is used to represent triples of arbitrary types (like the STL type pair
).
BALL::Triple< T1, T2, T3 >::Triple | ( | ) |
BALL::Triple< T1, T2, T3 >::Triple | ( | const Triple< T1, T2, T3 > & | triple, |
bool | deep = true |
||
) |
BALL::Triple< T1, T2, T3 >::Triple | ( | const T1 & | new_first, |
const T2 & | new_second, | ||
const T3 & | new_third | ||
) |
|
virtual |
|
virtual |
BALL_INLINE void BALL::Triple< T1, T2, T3 >::get | ( | T1 & | first, |
T2 & | second, | ||
T3 & | third | ||
) | const |
BALL_INLINE bool BALL::Triple< T1, T2, T3 >::operator!= | ( | const Triple< T1, T2, T3 > & | triple | ) | const |
BALL_INLINE bool BALL::Triple< T1, T2, T3 >::operator< | ( | const Triple< T1, T2, T3 > & | triple | ) | const |
BALL_INLINE bool BALL::Triple< T1, T2, T3 >::operator<= | ( | const Triple< T1, T2, T3 > & | triple | ) | const |
BALL_INLINE const Triple< T1, T2, T3 > & BALL::Triple< T1, T2, T3 >::operator= | ( | const Triple< T1, T2, T3 > & | triple | ) |
BALL_INLINE bool BALL::Triple< T1, T2, T3 >::operator== | ( | const Triple< T1, T2, T3 > & | triple | ) | const |
BALL_INLINE bool BALL::Triple< T1, T2, T3 >::operator> | ( | const Triple< T1, T2, T3 > & | triple | ) | const |
BALL_INLINE bool BALL::Triple< T1, T2, T3 >::operator>= | ( | const Triple< T1, T2, T3 > & | triple | ) | const |
BALL_INLINE void BALL::Triple< T1, T2, T3 >::set | ( | const T1 & | t1, |
const T2 & | t2, | ||
const T3 & | t3 | ||
) |
T1 BALL::Triple< T1, T2, T3 >::first |
T2 BALL::Triple< T1, T2, T3 >::second |
T3 BALL::Triple< T1, T2, T3 >::third |