#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 Two_tuple< T > | Self |
typedef const Two_tuple < Value_opposite > | Const_self |
Public Member Functions | |
Two_tuple () | |
Two_tuple (Init_reference p, Init_reference q) | |
Two_tuple (Const_reference t) | |
Const_reference | operator[] (int i) const |
Reference | operator[] (int i) |
int | dimension () const |
int | id () const |
bool | operator== (const Self &x) const |
bool | operator!= (const Self &x) 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 |
typedef Traits::Const_pointer Const_pointer |
typedef const Two_tuple<Value_opposite> Const_self |
typedef Traits::Init_reference Init_reference |
typedef Traits::Pointer Pointer |
typedef Traits::Reference Reference |
typedef Tuple_traits<T> Traits |
typedef Traits::Value Value |
typedef Traits::Value_opposite Value_opposite |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 158 of file Tuple.h.
References Tuple_traits< T >::ref().
|
inline |
Definition at line 162 of file Tuple.h.
References Tuple_traits< T >::ref().
|
inline |
Definition at line 171 of file Tuple.h.
References IO::ASCII, IO::BINARY, IO::mode, Two_tuple< T >::v0, and Two_tuple< T >::v1.
|
protected |
Definition at line 219 of file Tuple.h.
Referenced by Two_tuple< T >::divide(), Two_tuple< T >::multiply(), Two_tuple< T >::operator!=(), Two_tuple< T >::operator*(), Two_tuple< T >::operator*=(), Two_tuple< T >::operator+(), Two_tuple< T >::operator+=(), Two_tuple< T >::operator-(), Two_tuple< T >::operator-=(), Two_tuple< T >::operator/(), Two_tuple< T >::operator/=(), Two_tuple< T >::operator==(), and Two_tuple< T >::print().
|
protected |
Definition at line 220 of file Tuple.h.
Referenced by Two_tuple< T >::divide(), Two_tuple< T >::multiply(), Two_tuple< T >::operator!=(), Two_tuple< T >::operator*(), Two_tuple< T >::operator*=(), Two_tuple< T >::operator+(), Two_tuple< T >::operator+=(), Two_tuple< T >::operator-(), Two_tuple< T >::operator-=(), Two_tuple< T >::operator/(), Two_tuple< T >::operator/=(), Two_tuple< T >::operator==(), and Two_tuple< T >::print().