foowindow.cpp 1/14

[
top][prev][next]
#include "foowindow.h"

void FooWindow::redraw (  ){
}


foowindow.h 2/14

[
top][prev][next]
#ifndef FOOWINDOW_H
#define FOOWINDOW_H

#include "window.h"

class FooWindow: public Window {
  // Associations
  // Attributes
  // Operations
  public:
    void redraw (  );
};

#endif

foowindowmanager.cpp 3/14

[
top][prev][next]
#include "foowindowmanager.h"


foowindowmanager.h 4/14

[
top][prev][next]
#ifndef FOOWINDOWMANAGER_H
#define FOOWINDOWMANAGER_H

#include "windowmanager.h"

class FooWindowManager: public WindowManager {
  // Associations
  // Attributes
  // Operations
};

#endif

point.cpp 5/14

[
top][prev][next]
#include "point.h"

Point::Point ( float x, float y ){
}

float Point::getX (  ){
}

float Point::getY (  ){
}


point.h 6/14

[
top][prev][next]
#ifndef POINT_H
#define POINT_H


class Point {
  // Associations
  // Attributes
  private:
    float x;
    float y;
  // Operations
  public:
    Point ( float x, float y );
    float getX (  );
    float getY (  );
};

#endif

rectangle.cpp 7/14

[
top][prev][next]
#include "rectangle.h"

float Rectangle::getArea (  ){
}


rectangle.h 8/14

[
top][prev][next]
#ifndef RECTANGLE_H
#define RECTANGLE_H

#include "point.h"
#include "shape.h"

class Rectangle: public Shape {
  // Associations
   Point points;
  // Attributes
  // Operations
  public:
    float getArea (  );
};

#endif

shape.cpp 9/14

[
top][prev][next]
#include "shape.h"


shape.h 10/14

[
top][prev][next]
#ifndef SHAPE_H
#define SHAPE_H


class Shape {
  // Associations
  // Attributes
  // Operations
  public:
    virtual float getArea (  ) = 0;
};

#endif

window.cpp 11/14

[
top][prev][next]
#include "window.h"


window.h 12/14

[
top][prev][next]
#ifndef WINDOW_H
#define WINDOW_H

#include "shape.h"

class Window {
  // Associations
  // Attributes
  private:
    Shape visualrep;
  // Operations
  public:
    virtual void redraw (  ) = 0;
};

#endif

windowmanager.cpp 13/14

[
top][prev][next]
#include "windowmanager.h"


windowmanager.h 14/14

[
top][prev][next]
#ifndef WINDOWMANAGER_H
#define WINDOWMANAGER_H

#include "window.h"

class WindowManager {
  // Associations
   Window windows;
  // Attributes
  // Operations
};

#endif

Generated by GNU enscript 1.6.1.