#include <Karto.h>
Public Member Functions | |
const T | GetHeight () const |
const T | GetWidth () const |
kt_bool | operator!= (const Size2 &rOther) const |
Size2 & | operator= (const Size2 &rOther) |
kt_bool | operator== (const Size2 &rOther) const |
void | SetHeight (T height) |
void | SetWidth (T width) |
Size2 () | |
Size2 (T width, T height) | |
Size2 (const Size2 &rOther) | |
Private Attributes | |
T | m_Height |
T | m_Width |
Friends | |
std::ostream & | operator<< (std::ostream &rStream, const Size2 &rSize) |
Represents a size (width, height) in 2-dimensional real space.
karto::Size2< T >::Size2 | ( | ) | [inline] |
karto::Size2< T >::Size2 | ( | T | width, |
T | height | ||
) | [inline] |
karto::Size2< T >::Size2 | ( | const Size2< T > & | rOther | ) | [inline] |
const T karto::Size2< T >::GetHeight | ( | ) | const [inline] |
const T karto::Size2< T >::GetWidth | ( | ) | const [inline] |
kt_bool karto::Size2< T >::operator!= | ( | const Size2< T > & | rOther | ) | const [inline] |
Size2& karto::Size2< T >::operator= | ( | const Size2< T > & | rOther | ) | [inline] |
kt_bool karto::Size2< T >::operator== | ( | const Size2< T > & | rOther | ) | const [inline] |
void karto::Size2< T >::SetHeight | ( | T | height | ) | [inline] |
void karto::Size2< T >::SetWidth | ( | T | width | ) | [inline] |
std::ostream& operator<< | ( | std::ostream & | rStream, |
const Size2< T > & | rSize | ||
) | [friend] |
T karto::Size2< T >::m_Height [private] |
T karto::Size2< T >::m_Width [private] |