VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Attributes | Static Protected Attributes | Friends
DtDisplaySize Class Reference

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
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

DtDisplaySize::DtDisplaySize ( )

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

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
staticprotected
const int DtDisplaySize::theDefaultH
staticprotected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)