Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

gutk::Size Class Reference

#include <size.h>

List of all members.


Detailed Description

Class encapsulates two integers as representing a rectangle.

This class can be used to represent the size of a rectangular region. Due to the implmentation of this class it does not require any copy constructor.


Public Member Functions

 Size (void)
 Default Constructor.

 Size (int w, int h)
 Member initialiser.


Public Attributes

int width
 Width.

int height
 Height.


Constructor & Destructor Documentation

gutk::Size::Size void   ) 
 

Default Constructor.

This does nothing but initialise width and height to 0.

gutk::Size::Size int  w,
int  h
 

Member initialiser.

Initialises width with w and height with h.


Member Data Documentation

int gutk::Size::height
 

Height.

This stores the height.

int gutk::Size::width
 

Width.

This stores the width.


The documentation for this class was generated from the following file:
Generated on Mon Nov 22 11:12:41 2004 for ImprolaLib by doxygen 1.3.7