MyGUI
3.0.1
|
#include <MyGUI_TCoord.h>
Public Member Functions | |
TCoord () | |
TCoord (T const &_left, T const &_top, T const &_width, T const &_height) | |
TCoord (TCoord const &_obj) | |
TCoord (TPoint< T > const &_point, TSize< T > const &_size) | |
TCoord & | operator-= (TCoord const &_obj) |
TCoord & | operator+= (TCoord const &_obj) |
TCoord | operator- (TCoord const &_obj) const |
TCoord | operator- (TPoint< T > const &_obj) const |
TCoord | operator- (TSize< T > const &_obj) const |
TCoord | operator+ (TCoord const &_obj) const |
TCoord | operator+ (TPoint< T > const &_obj) const |
TCoord | operator+ (TSize< T > const &_obj) const |
TCoord & | operator= (TCoord const &_obj) |
template<typename U > | |
TCoord & | operator= (TCoord< U > const &_obj) |
TCoord & | operator= (TPoint< T > const &_obj) |
TCoord & | operator= (TSize< T > const &_obj) |
bool | operator== (TCoord const &_obj) const |
bool | operator!= (TCoord const &_obj) const |
T | right () const |
T | bottom () const |
void | clear () |
void | set (T const &_left, T const &_top, T const &_width, T const &_height) |
void | swap (TCoord &_value) |
bool | empty () const |
TPoint< T > | point () const |
TSize< T > | size () const |
bool | inside (const TPoint< T > &_value) const |
std::string | print () const |
Static Public Member Functions | |
static TCoord< T > | parse (const std::string &_value) |
Data Fields | |
T | left |
T | top |
T | width |
T | height |
Friends | |
std::ostream & | operator<< (std::ostream &_stream, const TCoord< T > &_value) |
std::istream & | operator>> (std::istream &_stream, TCoord< T > &_value) |
Definition at line 35 of file MyGUI_TCoord.h.
MyGUI::types::TCoord< T >::TCoord | ( | ) | [inline] |
Definition at line 39 of file MyGUI_TCoord.h.
MyGUI::types::TCoord< T >::TCoord | ( | T const & | _left, |
T const & | _top, | ||
T const & | _width, | ||
T const & | _height | ||
) | [inline] |
Definition at line 40 of file MyGUI_TCoord.h.
MyGUI::types::TCoord< T >::TCoord | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 41 of file MyGUI_TCoord.h.
MyGUI::types::TCoord< T >::TCoord | ( | TPoint< T > const & | _point, |
TSize< T > const & | _size | ||
) | [inline] |
Definition at line 42 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::bottom | ( | ) | const [inline] |
Definition at line 141 of file MyGUI_TCoord.h.
void MyGUI::types::TCoord< T >::clear | ( | ) | [inline] |
Definition at line 146 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::empty | ( | ) | const [inline] |
Definition at line 166 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::inside | ( | const TPoint< T > & | _value | ) | const [inline] |
Definition at line 181 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::operator!= | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 131 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator+ | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 77 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator+ | ( | TPoint< T > const & | _obj | ) | const [inline] |
Definition at line 82 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator+ | ( | TSize< T > const & | _obj | ) | const [inline] |
Definition at line 87 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator+= | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 53 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator- | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 62 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator- | ( | TPoint< T > const & | _obj | ) | const [inline] |
Definition at line 67 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator- | ( | TSize< T > const & | _obj | ) | const [inline] |
Definition at line 72 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator-= | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 44 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 92 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TCoord< U > const & | _obj | ) | [inline] |
Definition at line 102 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TPoint< T > const & | _obj | ) | [inline] |
Definition at line 111 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TSize< T > const & | _obj | ) | [inline] |
Definition at line 118 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::operator== | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 126 of file MyGUI_TCoord.h.
static TCoord<T> MyGUI::types::TCoord< T >::parse | ( | const std::string & | _value | ) | [inline, static] |
Definition at line 193 of file MyGUI_TCoord.h.
TPoint<T> MyGUI::types::TCoord< T >::point | ( | ) | const [inline] |
Definition at line 171 of file MyGUI_TCoord.h.
std::string MyGUI::types::TCoord< T >::print | ( | ) | const [inline] |
Definition at line 186 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::right | ( | ) | const [inline] |
Definition at line 136 of file MyGUI_TCoord.h.
void MyGUI::types::TCoord< T >::set | ( | T const & | _left, |
T const & | _top, | ||
T const & | _width, | ||
T const & | _height | ||
) | [inline] |
Definition at line 151 of file MyGUI_TCoord.h.
TSize<T> MyGUI::types::TCoord< T >::size | ( | ) | const [inline] |
Definition at line 176 of file MyGUI_TCoord.h.
void MyGUI::types::TCoord< T >::swap | ( | TCoord< T > & | _value | ) | [inline] |
Definition at line 159 of file MyGUI_TCoord.h.
std::ostream& operator<< | ( | std::ostream & | _stream, |
const TCoord< T > & | _value | ||
) | [friend] |
Definition at line 211 of file MyGUI_TCoord.h.
std::istream& operator>> | ( | std::istream & | _stream, |
TCoord< T > & | _value | ||
) | [friend] |
Definition at line 217 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::height |
Definition at line 37 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::left |
Definition at line 37 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::top |
Definition at line 37 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::width |
Definition at line 37 of file MyGUI_TCoord.h.