#include <MyGUI_TRect.h>
Public Member Functions | |
TRect () | |
TRect (T const &l, T const &t, T const &r, T const &b) | |
TRect (TRect const &o) | |
TRect & | operator-= (TRect const &o) |
TRect & | operator+= (TRect const &o) |
TRect | operator- (TRect const &o) const |
TRect | operator+ (TRect const &o) const |
TRect & | operator= (TRect const &o) |
template<typename U > | |
TRect & | operator= (TRect< U > const &o) |
bool | operator== (TRect const &o) const |
bool | operator!= (TRect const &o) const |
T | width () const |
T | height () const |
void | clear () |
void | set (T const &l, T const &t, T const &r, T const &b) |
void | swap (TRect &_value) |
bool | empty () const |
bool | inside (const TRect< T > &_value) const |
bool | intersect (const TRect< T > &_value) const |
bool | inside (const TPoint< T > &_value) const |
std::string | print () const |
Static Public Member Functions | |
static TRect< T > | parse (const std::string &_value) |
Data Fields | |
T | left |
T | top |
T | right |
T | bottom |
Friends | |
std::ostream & | operator<< (std::ostream &_stream, const TRect< T > &_value) |
std::istream & | operator>> (std::istream &_stream, TRect< T > &_value) |
Definition at line 33 of file MyGUI_TRect.h.
MyGUI::types::TRect< T >::TRect | ( | ) | [inline] |
Definition at line 37 of file MyGUI_TRect.h.
MyGUI::types::TRect< T >::TRect | ( | T const & | l, | |
T const & | t, | |||
T const & | r, | |||
T const & | b | |||
) | [inline] |
Definition at line 38 of file MyGUI_TRect.h.
MyGUI::types::TRect< T >::TRect | ( | TRect< T > const & | o | ) | [inline] |
Definition at line 39 of file MyGUI_TRect.h.
void MyGUI::types::TRect< T >::clear | ( | ) | [inline] |
Definition at line 108 of file MyGUI_TRect.h.
bool MyGUI::types::TRect< T >::empty | ( | ) | const [inline] |
Definition at line 128 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::height | ( | ) | const [inline] |
Definition at line 103 of file MyGUI_TRect.h.
bool MyGUI::types::TRect< T >::inside | ( | const TPoint< T > & | _value | ) | const [inline] |
Definition at line 143 of file MyGUI_TRect.h.
bool MyGUI::types::TRect< T >::inside | ( | const TRect< T > & | _value | ) | const [inline] |
Definition at line 133 of file MyGUI_TRect.h.
bool MyGUI::types::TRect< T >::intersect | ( | const TRect< T > & | _value | ) | const [inline] |
Definition at line 138 of file MyGUI_TRect.h.
bool MyGUI::types::TRect< T >::operator!= | ( | TRect< T > const & | o | ) | const [inline] |
Definition at line 93 of file MyGUI_TRect.h.
TRect MyGUI::types::TRect< T >::operator+ | ( | TRect< T > const & | o | ) | const [inline] |
Definition at line 64 of file MyGUI_TRect.h.
TRect& MyGUI::types::TRect< T >::operator+= | ( | TRect< T > const & | o | ) | [inline] |
Definition at line 50 of file MyGUI_TRect.h.
TRect MyGUI::types::TRect< T >::operator- | ( | TRect< T > const & | o | ) | const [inline] |
Definition at line 59 of file MyGUI_TRect.h.
TRect& MyGUI::types::TRect< T >::operator-= | ( | TRect< T > const & | o | ) | [inline] |
Definition at line 41 of file MyGUI_TRect.h.
TRect& MyGUI::types::TRect< T >::operator= | ( | TRect< U > const & | o | ) | [inline] |
Definition at line 79 of file MyGUI_TRect.h.
TRect& MyGUI::types::TRect< T >::operator= | ( | TRect< T > const & | o | ) | [inline] |
Definition at line 69 of file MyGUI_TRect.h.
bool MyGUI::types::TRect< T >::operator== | ( | TRect< T > const & | o | ) | const [inline] |
Definition at line 88 of file MyGUI_TRect.h.
static TRect<T> MyGUI::types::TRect< T >::parse | ( | const std::string & | _value | ) | [inline, static] |
Definition at line 155 of file MyGUI_TRect.h.
std::string MyGUI::types::TRect< T >::print | ( | ) | const [inline] |
Definition at line 148 of file MyGUI_TRect.h.
void MyGUI::types::TRect< T >::set | ( | T const & | l, | |
T const & | t, | |||
T const & | r, | |||
T const & | b | |||
) | [inline] |
Definition at line 113 of file MyGUI_TRect.h.
void MyGUI::types::TRect< T >::swap | ( | TRect< T > & | _value | ) | [inline] |
Definition at line 121 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::width | ( | ) | const [inline] |
Definition at line 98 of file MyGUI_TRect.h.
std::ostream& operator<< | ( | std::ostream & | _stream, | |
const TRect< T > & | _value | |||
) | [friend] |
Definition at line 173 of file MyGUI_TRect.h.
std::istream& operator>> | ( | std::istream & | _stream, | |
TRect< T > & | _value | |||
) | [friend] |
Definition at line 179 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::bottom |
Definition at line 35 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::left |
Definition at line 35 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::right |
Definition at line 35 of file MyGUI_TRect.h.
T MyGUI::types::TRect< T >::top |
Definition at line 35 of file MyGUI_TRect.h.