MyGUI
3.2.0
|
#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 42 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 50 of file MyGUI_TCoord.h.
MyGUI::types::TCoord< T >::TCoord | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 58 of file MyGUI_TCoord.h.
MyGUI::types::TCoord< T >::TCoord | ( | TPoint< T > const & | _point, |
TSize< T > const & | _size | ||
) | [inline] |
Definition at line 66 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::bottom | ( | ) | const [inline] |
Definition at line 170 of file MyGUI_TCoord.h.
void MyGUI::types::TCoord< T >::clear | ( | ) | [inline] |
Definition at line 175 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::empty | ( | ) | const [inline] |
Definition at line 195 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::inside | ( | const TPoint< T > & | _value | ) | const [inline] |
Definition at line 210 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::operator!= | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 160 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator+ | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 107 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator+ | ( | TPoint< T > const & | _obj | ) | const [inline] |
Definition at line 112 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator+ | ( | TSize< T > const & | _obj | ) | const [inline] |
Definition at line 117 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator+= | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 83 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator- | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 92 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator- | ( | TPoint< T > const & | _obj | ) | const [inline] |
Definition at line 97 of file MyGUI_TCoord.h.
TCoord MyGUI::types::TCoord< T >::operator- | ( | TSize< T > const & | _obj | ) | const [inline] |
Definition at line 102 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator-= | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 74 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TCoord< T > const & | _obj | ) | [inline] |
Definition at line 122 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TCoord< U > const & | _obj | ) | [inline] |
Definition at line 132 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TPoint< T > const & | _obj | ) | [inline] |
Definition at line 141 of file MyGUI_TCoord.h.
TCoord& MyGUI::types::TCoord< T >::operator= | ( | TSize< T > const & | _obj | ) | [inline] |
Definition at line 148 of file MyGUI_TCoord.h.
bool MyGUI::types::TCoord< T >::operator== | ( | TCoord< T > const & | _obj | ) | const [inline] |
Definition at line 155 of file MyGUI_TCoord.h.
static TCoord<T> MyGUI::types::TCoord< T >::parse | ( | const std::string & | _value | ) | [inline, static] |
Definition at line 222 of file MyGUI_TCoord.h.
TPoint<T> MyGUI::types::TCoord< T >::point | ( | ) | const [inline] |
Definition at line 200 of file MyGUI_TCoord.h.
std::string MyGUI::types::TCoord< T >::print | ( | ) | const [inline] |
Definition at line 215 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::right | ( | ) | const [inline] |
Definition at line 165 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 180 of file MyGUI_TCoord.h.
TSize<T> MyGUI::types::TCoord< T >::size | ( | ) | const [inline] |
Definition at line 205 of file MyGUI_TCoord.h.
void MyGUI::types::TCoord< T >::swap | ( | TCoord< T > & | _value | ) | [inline] |
Definition at line 188 of file MyGUI_TCoord.h.
std::ostream& operator<< | ( | std::ostream & | _stream, |
const TCoord< T > & | _value | ||
) | [friend] |
Definition at line 244 of file MyGUI_TCoord.h.
std::istream& operator>> | ( | std::istream & | _stream, |
TCoord< T > & | _value | ||
) | [friend] |
Definition at line 250 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::height |
Definition at line 40 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 38 of file MyGUI_TCoord.h.
T MyGUI::types::TCoord< T >::width |
Definition at line 39 of file MyGUI_TCoord.h.