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')
friend std::istream & operator>>(std::istream &_stream, TSize< T > &_value)
friend std::ostream & operator<<(std::ostream &_stream, const TSize< T > &_value)
static TSize< T > parse(const std::string &_value)
TSize operator+(TSize const &_obj) const
TSize & operator=(TSize const &_obj)
TSize operator-(TSize const &_obj) const
TSize & operator+=(TSize const &_obj)
TSize(T const &_width, T const &_height)
std::string print() const
bool operator!=(TSize const &_obj) const
TSize & operator-=(TSize const &_obj)
void set(T const &_width, T const &_height)
bool operator==(TSize const &_obj) const