#include <Tuple.h>
Public Types | |
typedef Tuple_traits< T > | Traits |
typedef Traits::Value | Value |
typedef Traits::Value_opposite | Value_opposite |
typedef Traits::Pointer | Pointer |
typedef Traits::Const_pointer | Const_pointer |
typedef Traits::Reference | Reference |
typedef Traits::Const_reference | Const_reference |
typedef Traits::Init_reference | Init_reference |
typedef Traits::Pointer_equivalent | Pointer_equivalent |
typedef Three_tuple< T > | Self |
typedef const Three_tuple < Value_opposite > | Const_self |
Public Member Functions | |
Three_tuple () | |
Three_tuple (Init_reference p, Init_reference q, Init_reference r) | |
Three_tuple (Const_reference t) | |
bool | operator== (const Self &x) const |
bool | operator!= (const Self &x) const |
Const_reference | operator[] (int i) const |
Reference | operator[] (int i) |
int | id () const |
int | dimension () const |
std::ostream & | print (std::ostream &os, const char *s) const |
operator Const_self & () const | |
Self | operator+ (const Self &t) const |
Self | operator- (const Self &t) const |
Self & | operator+= (const Self &t) |
Self & | operator-= (const Self &t) |
Value | operator* (const Self &t) const |
Self & | operator*= (Const_reference t) |
Self | operator/ (Const_reference t) const |
Self & | operator/= (Const_reference t) |
Self | multiply (const Self &b) const |
Self | divide (const Self &b) const |
Protected Attributes | |
Value | v0 |
Value | v1 |
Value | v2 |
typedef Traits::Const_pointer Const_pointer |
typedef const Three_tuple<Value_opposite> Const_self |
typedef Traits::Init_reference Init_reference |
typedef Traits::Pointer Pointer |
typedef Traits::Reference Reference |
typedef Three_tuple<T> Self |
typedef Tuple_traits<T> Traits |
typedef Traits::Value Value |
typedef Traits::Value_opposite Value_opposite |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 329 of file Tuple.h.
Referenced by Three_tuple< int >::divide(), Three_tuple< int >::multiply(), Three_tuple< int >::operator!=(), Three_tuple< int >::operator*(), Three_tuple< int >::operator*=(), Three_tuple< int >::operator+(), Three_tuple< int >::operator+=(), Three_tuple< int >::operator-(), Three_tuple< int >::operator-=(), Three_tuple< int >::operator/(), Three_tuple< int >::operator/=(), Three_tuple< int >::operator==(), and Three_tuple< int >::print().
|
protected |
Definition at line 330 of file Tuple.h.
Referenced by Three_tuple< int >::divide(), Three_tuple< int >::multiply(), Three_tuple< int >::operator!=(), Three_tuple< int >::operator*(), Three_tuple< int >::operator*=(), Three_tuple< int >::operator+(), Three_tuple< int >::operator+=(), Three_tuple< int >::operator-(), Three_tuple< int >::operator-=(), Three_tuple< int >::operator/(), Three_tuple< int >::operator/=(), Three_tuple< int >::operator==(), and Three_tuple< int >::print().
|
protected |
Definition at line 331 of file Tuple.h.
Referenced by Three_tuple< int >::divide(), Three_tuple< int >::multiply(), Three_tuple< int >::operator!=(), Three_tuple< int >::operator*(), Three_tuple< int >::operator*=(), Three_tuple< int >::operator+(), Three_tuple< int >::operator+=(), Three_tuple< int >::operator-(), Three_tuple< int >::operator-=(), Three_tuple< int >::operator/(), Three_tuple< int >::operator/=(), Three_tuple< int >::operator==(), and Three_tuple< int >::print().