33 TRect(T
const& _left, T
const& _top, T
const& _right, T
const& _bottom) :
121 void set(T
const& _left, T
const& _top, T
const& _right, T
const& _bottom)
158 std::ostringstream stream;
166 std::istringstream stream(_value);
174 int item = stream.get();
177 if (item !=
' ' && item !=
'\t')
187 _stream << _value.
left <<
" " << _value.
top <<
" " << _value.
right <<
" " << _value.
bottom;
bool inside(const TPoint< T > &_value) const
std::string print() const
void set(T const &_left, T const &_top, T const &_right, T const &_bottom)
bool operator!=(TRect const &_obj) const
TRect & operator=(TRect const &_obj)
TRect & operator-=(TRect const &_obj)
TRect(T const &_left, T const &_top, T const &_right, T const &_bottom)
bool inside(const TRect< T > &_value) const
TRect operator+(TRect const &_obj) const
bool operator==(TRect const &_obj) const
friend std::istream & operator>>(std::istream &_stream, TRect< T > &_value)
static TRect< T > parse(const std::string &_value)
bool intersect(const TRect< T > &_value) const
TRect operator-(TRect const &_obj) const
friend std::ostream & operator<<(std::ostream &_stream, const TRect< T > &_value)
TRect & operator+=(TRect const &_obj)