![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtDisplaySize: More...
Public Member Functions | |
| DtDisplaySize () | |
| default constructor | |
| DtDisplaySize (const int &w, const int &h) | |
| constructors | |
| DtDisplaySize (const DtDisplayPoint &upperLeft, const DtDisplayPoint &lowerRight) | |
| virtual | ~DtDisplaySize () |
| destructor | |
| DtDisplaySize (const DtDisplaySize &orig) | |
| copy constructor | |
| DtDisplaySize & | operator= (const DtDisplaySize &rhs) |
| assignment operator | |
| virtual bool | operator== (const DtDisplaySize &rhs) const |
| comparison operators | |
| virtual bool | operator!= (const DtDisplaySize &rhs) const |
| virtual const int & | w () const |
| Set/get the Width value. | |
| virtual void | setW (const int &w) |
| virtual const int & | h () const |
| Set/get the Height value. | |
| virtual void | setH (const int &h) |
| virtual bool | isDefault () const |
| Checks to see if the size is a default size. | |
Protected Attributes | |
| int | myW |
| int | myH |
Static Protected Attributes | |
| static const int | theDefaultW |
| static const int | theDefaultH |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const DtDisplayPoint &point) |
| std::istream & | operator>> (std::istream &is, DtDisplayPoint &point) |
class DtDisplaySize:
Represents a dimension (width, height).
default constructor
| DtDisplaySize::DtDisplaySize | ( | const int & | w, |
| const int & | h | ||
| ) |
constructors
| DtDisplaySize::DtDisplaySize | ( | const DtDisplayPoint & | upperLeft, |
| const DtDisplayPoint & | lowerRight | ||
| ) |
| virtual DtDisplaySize::~DtDisplaySize | ( | ) | [virtual] |
destructor
| DtDisplaySize::DtDisplaySize | ( | const DtDisplaySize & | orig | ) |
copy constructor
| DtDisplaySize& DtDisplaySize::operator= | ( | const DtDisplaySize & | rhs | ) |
assignment operator
| virtual bool DtDisplaySize::operator== | ( | const DtDisplaySize & | rhs | ) | const [virtual] |
comparison operators
| virtual bool DtDisplaySize::operator!= | ( | const DtDisplaySize & | rhs | ) | const [virtual] |
| virtual const int& DtDisplaySize::w | ( | ) | const [virtual] |
Set/get the Width value.
| virtual void DtDisplaySize::setW | ( | const int & | w | ) | [virtual] |
| virtual const int& DtDisplaySize::h | ( | ) | const [virtual] |
Set/get the Height value.
| virtual void DtDisplaySize::setH | ( | const int & | h | ) | [virtual] |
| virtual bool DtDisplaySize::isDefault | ( | ) | const [virtual] |
Checks to see if the size is a default size.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const DtDisplayPoint & | point | ||
| ) | [friend] |
| std::istream& operator>> | ( | std::istream & | is, |
| DtDisplayPoint & | point | ||
| ) | [friend] |
int DtDisplaySize::myW [protected] |
int DtDisplaySize::myH [protected] |
const int DtDisplaySize::theDefaultW [static, protected] |
const int DtDisplaySize::theDefaultH [static, protected] |