Boost.UI
User Interface Boost library
Public Member Functions | Related Functions | List of all members
boost::ui::basic_size< T > Class Template Reference

2D size of object data structure with custom coordinates type More...

Public Member Functions

 basic_size ()
 Constructs empty size object.
 
 basic_size (const T &width, const T &height)
 Constructs size with width and height.
 
template<class D >
 basic_size (const basic_size< D > &s)
 Constructs size with an other size object.
 
const T & width () const
 Retruns width.
 
const T & height () const
 Retruns height.
 
bool operator== (const basic_size &other) const
 Compares two sizes.
 
bool operator!= (const basic_size &other) const
 Compares two sizes.
 
basic_sizeoperator*= (const T &value)
 Arithmetic operation.
 
basic_sizeoperator/= (const T &value)
 Arithmetic operation.
 

Related Functions

(Note that these are not member functions.)

template<class T , class CharT , class Traits >
std::basic_ostream< CharT, Traits > & operator<< (std::basic_ostream< CharT, Traits > &os, const basic_size< T > &p)
 Writes basic_size into basic_size stream.
 

Detailed Description

template<class T>
class boost::ui::basic_size< T >

2D size of object data structure with custom coordinates type


The documentation for this class was generated from the following files: