29 TSize(T
const& _width, T
const& _height) :
95 void set(T
const& _width, T
const& _height)
115 std::ostringstream stream;
123 std::istringstream stream(_value);
131 int item = stream.get();
134 if (item !=
' ' && item !=
'\t')
161 #endif // MYGUI_TSIZE_H_ friend std::ostream & operator<<(std::ostream &_stream, const TSize< T > &_value)
bool operator !=(TSize const &_obj) const
bool operator==(TSize const &_obj) const
TSize operator -(TSize const &_obj) const
std::string print() const
void set(T const &_width, T const &_height)
static TSize< T > parse(const std::string &_value)
TSize & operator+=(TSize const &_obj)
TSize(T const &_width, T const &_height)
friend std::istream & operator >>(std::istream &_stream, TSize< T > &_value)
TSize & operator=(TSize const &_obj)
TSize operator+(TSize const &_obj) const
TSize & operator -=(TSize const &_obj)