#include <vlcouple.h>
Public Member Functions | |
| vlCouple (T const &x=0, T const &y=0) | |
| default constructor | |
| ~vlCouple () | |
| default destructor | |
| T | x () const |
| get value of x | |
| T | y () const |
| get value of y | |
| T const & | xRef () const |
| get value of x | |
| T const & | yRef () const |
| get value of y | |
| template<class S> void | x (const S &value) |
| set value of x | |
| template<class S> void | y (const S &value) |
| set value of y | |
| vlCouple< T > & | operator= (vlCouple< T > const &other) |
| override for = operator | |
| bool | operator== (vlCouple< T > const &other) const |
| checks if the two couple are equal | |
| bool | operator!= (vlCouple< T > const &other) const |
| checks if the two couple are unequal | |
| vlCouple< T > | operator+ () const |
| multiples couple elements with +1 | |
| vlCouple< T > | operator- () const |
| multiples couple elements with -1 | |
| vlCouple< T > | operator+ (vlCouple< T > const &other) const |
| adds another couple to self and returns the sum | |
| vlCouple< T > | operator+ (T const &value) const |
| adds a const value to self and returns the sum | |
| vlCouple< T > | operator- (vlCouple< T > const &other) const |
| subtracts another couple from self and returns the result | |
| vlCouple< T > | operator- (T const &value) const |
| subtracts a const value from self and returns the result | |
| vlCouple< T > & | operator+= (vlCouple< T > const &other) |
| adds another couple to self | |
| vlCouple< T > & | operator-= (vlCouple< T > const &other) |
| subtracts another couple from self | |
| vlCouple< T > | operator * (T const &other) const |
| multiples self with other and returns the result | |
| vlCouple< T > | operator/ (T const &other) const |
| divides other from self and returns the result | |
| void | operator *= (T const &other) |
| multiples self with other (self changes) | |
| void | operator/= (T const &other) |
| divides other from self (self changes) | |
Protected Attributes | |
| T | m_x |
| member variables storing the 2 entries in the couple | |
| T | m_y |
| member variables storing the 2 entries in the couple | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, vlCouple< T > const *const v) |
| overriding << to enable writing couple to a stream | |
| std::ostream & | operator<< (std::ostream &os, vlCouple< T > const &v) |
| overriding << to enable writing couple to a stream | |
Definition at line 42 of file vlcouple.h.
|
||||||||||||||||
|
Definition at line 143 of file vlcouple.h. Referenced by vlCouple< T >::operator *(), and vlCouple< T >::operator/(). |
|
|||||||||
|
Definition at line 157 of file vlcouple.h. |
|
||||||||||
|
Definition at line 379 of file vlcouple.h. References vlCouple< T >::m_x, vlCouple< T >::m_y, and vlCouple< T >::vlCouple(). |
|
||||||||||
|
Definition at line 436 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 230 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 311 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 298 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
|||||||||
|
Definition at line 273 of file vlcouple.h. |
|
||||||||||
|
Definition at line 350 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 337 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 324 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
|||||||||
|
Definition at line 285 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 364 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 392 of file vlcouple.h. References vlCouple< T >::m_x, vlCouple< T >::m_y, and vlCouple< T >::vlCouple(). |
|
||||||||||
|
Definition at line 450 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 171 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||
|
Definition at line 186 of file vlcouple.h. References vlCouple< T >::m_x, and vlCouple< T >::m_y. |
|
||||||||||||||
|
Definition at line 65 of file vlcouple.h. References vlCouple< T >::m_x. |
|
|||||||||
|
Definition at line 52 of file vlcouple.h. References vlCouple< T >::m_x. Referenced by vlTxFunction::addPoint(), and vlTxFunction::updateTable(). |
|
|||||||||
|
Definition at line 58 of file vlcouple.h. References vlCouple< T >::m_x. |
|
||||||||||||||
|
Definition at line 69 of file vlcouple.h. References vlCouple< T >::m_y. |
|
|||||||||
|
Definition at line 55 of file vlcouple.h. References vlCouple< T >::m_y. Referenced by vlTxFunction::addPoint(), and vlTxFunction::updateTable(). |
|
|||||||||
|
Definition at line 61 of file vlcouple.h. References vlCouple< T >::m_y. |
|
||||||||||||||||
|
Definition at line 123 of file vlcouple.h. |
|
||||||||||||||||
|
Definition at line 118 of file vlcouple.h. |
|
|||||
|
|||||
1.3.3