|
Design Patterns
|
#include <point.h>
Public Member Functions | |
| Point () | |
| Point (const Point< type > &) | |
| Point (const type &, const type &) | |
| type | x () const |
| void | x (type x) |
| type | y () const |
| void | y (type y) |
| Point< type > & | operator+= (const Point< type > &) |
| Point< type > & | operator-= (const Point< type > &) |
| Point< type > & | operator*= (const type &) |
| Point< type > & | operator/= (const type &) |
| Point< type > | operator- () |
Friends | |
| Point< type > | operator+ (const Point< type > &left, const Point< type > &right) |
| Point< type > | operator- (const Point< type > &left, const Point< type > &right) |
| bool | operator== (const Point< type > &left, const Point< type > &right) |
| bool | operator!= (const Point< type > &left, const Point< type > &right) |
| std::ostream & | operator<< (std::ostream &to, const Point< type > &point) |
| std::istream & | operator>> (std::istream &from, Point< type > &point) |
| structural::commons::Point< type >::Point | ( | ) |
| structural::commons::Point< type >::Point | ( | const Point< type > & | point | ) |
| structural::commons::Point< type >::Point | ( | const type & | x, |
| const type & | y | ||
| ) |
| Point< type > & structural::commons::Point< type >::operator*= | ( | const type & | point | ) |
| Point< type > & structural::commons::Point< type >::operator+= | ( | const Point< type > & | point | ) |
| Point< type > structural::commons::Point< type >::operator- | ( | ) |
| Point< type > & structural::commons::Point< type >::operator-= | ( | const Point< type > & | point | ) |
| Point< type > & structural::commons::Point< type >::operator/= | ( | const type & | value | ) |
| type structural::commons::Point< type >::x | ( | ) | const |
| void structural::commons::Point< type >::x | ( | type | x | ) |
| type structural::commons::Point< type >::y | ( | ) | const |
| void structural::commons::Point< type >::y | ( | type | y | ) |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |