VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes | Static Protected Attributes | Friends
DtDisplaySize Class Reference

class DtDisplaySize: More...

List of all members.

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
DtDisplaySizeoperator= (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)

Detailed Description

class DtDisplaySize:

Represents a dimension (width, height).


Constructor & Destructor Documentation

default constructor

DtDisplaySize::DtDisplaySize ( const int &  w,
const int &  h 
)

constructors

DtDisplaySize::DtDisplaySize ( const DtDisplayPoint upperLeft,
const DtDisplayPoint lowerRight 
)
virtual DtDisplaySize::~DtDisplaySize ( ) [virtual]

destructor

copy constructor


Member Function Documentation

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.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DtDisplayPoint point 
) [friend]
std::istream& operator>> ( std::istream &  is,
DtDisplayPoint point 
) [friend]

Member Data Documentation

int DtDisplaySize::myW [protected]
int DtDisplaySize::myH [protected]
const int DtDisplaySize::theDefaultW [static, protected]
const int DtDisplaySize::theDefaultH [static, protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)