#include <MyGUI_TPoint.h>
Public Member Functions | |
TPoint () | |
TPoint (T const &_left, T const &_top) | |
TPoint (TPoint const &o) | |
TPoint & | operator-= (TPoint const &o) |
TPoint & | operator+= (TPoint const &o) |
TPoint | operator- (TPoint const &o) const |
TPoint | operator+ (TPoint const &o) const |
TPoint & | operator= (TPoint const &o) |
template<typename U > | |
TPoint & | operator= (TPoint< U > const &o) |
bool | operator== (TPoint const &o) const |
bool | operator!= (TPoint const &o) const |
void | clear () |
void | set (T const &_left, T const &_top) |
void | swap (TPoint &_value) |
bool | empty () const |
std::string | print () const |
Static Public Member Functions | |
static TPoint< T > | parse (const std::string &_value) |
Data Fields | |
T | left |
T | top |
Friends | |
std::ostream & | operator<< (std::ostream &_stream, const TPoint< T > &_value) |
std::istream & | operator>> (std::istream &_stream, TPoint< T > &_value) |
Definition at line 32 of file MyGUI_TPoint.h.
MyGUI::types::TPoint< T >::TPoint | ( | ) | [inline] |
Definition at line 36 of file MyGUI_TPoint.h.
MyGUI::types::TPoint< T >::TPoint | ( | T const & | _left, | |
T const & | _top | |||
) | [inline] |
Definition at line 37 of file MyGUI_TPoint.h.
MyGUI::types::TPoint< T >::TPoint | ( | TPoint< T > const & | o | ) | [inline] |
Definition at line 38 of file MyGUI_TPoint.h.
void MyGUI::types::TPoint< T >::clear | ( | ) | [inline] |
Definition at line 89 of file MyGUI_TPoint.h.
bool MyGUI::types::TPoint< T >::empty | ( | ) | const [inline] |
Definition at line 107 of file MyGUI_TPoint.h.
bool MyGUI::types::TPoint< T >::operator!= | ( | TPoint< T > const & | o | ) | const [inline] |
Definition at line 84 of file MyGUI_TPoint.h.
TPoint MyGUI::types::TPoint< T >::operator+ | ( | TPoint< T > const & | o | ) | const [inline] |
Definition at line 59 of file MyGUI_TPoint.h.
TPoint& MyGUI::types::TPoint< T >::operator+= | ( | TPoint< T > const & | o | ) | [inline] |
Definition at line 47 of file MyGUI_TPoint.h.
TPoint MyGUI::types::TPoint< T >::operator- | ( | TPoint< T > const & | o | ) | const [inline] |
Definition at line 54 of file MyGUI_TPoint.h.
TPoint& MyGUI::types::TPoint< T >::operator-= | ( | TPoint< T > const & | o | ) | [inline] |
Definition at line 40 of file MyGUI_TPoint.h.
TPoint& MyGUI::types::TPoint< T >::operator= | ( | TPoint< U > const & | o | ) | [inline] |
Definition at line 72 of file MyGUI_TPoint.h.
TPoint& MyGUI::types::TPoint< T >::operator= | ( | TPoint< T > const & | o | ) | [inline] |
Definition at line 64 of file MyGUI_TPoint.h.
bool MyGUI::types::TPoint< T >::operator== | ( | TPoint< T > const & | o | ) | const [inline] |
Definition at line 79 of file MyGUI_TPoint.h.
static TPoint<T> MyGUI::types::TPoint< T >::parse | ( | const std::string & | _value | ) | [inline, static] |
Definition at line 119 of file MyGUI_TPoint.h.
std::string MyGUI::types::TPoint< T >::print | ( | ) | const [inline] |
Definition at line 112 of file MyGUI_TPoint.h.
void MyGUI::types::TPoint< T >::set | ( | T const & | _left, | |
T const & | _top | |||
) | [inline] |
Definition at line 94 of file MyGUI_TPoint.h.
void MyGUI::types::TPoint< T >::swap | ( | TPoint< T > & | _value | ) | [inline] |
Definition at line 100 of file MyGUI_TPoint.h.
std::ostream& operator<< | ( | std::ostream & | _stream, | |
const TPoint< T > & | _value | |||
) | [friend] |
Definition at line 137 of file MyGUI_TPoint.h.
std::istream& operator>> | ( | std::istream & | _stream, | |
TPoint< T > & | _value | |||
) | [friend] |
Definition at line 143 of file MyGUI_TPoint.h.
T MyGUI::types::TPoint< T >::left |
Definition at line 34 of file MyGUI_TPoint.h.
T MyGUI::types::TPoint< T >::top |
Definition at line 34 of file MyGUI_TPoint.h.