first commit
This commit is contained in:
104
Lab6/prctngle.h
Normal file
104
Lab6/prctngle.h
Normal file
@@ -0,0 +1,104 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: Prectangle; Pseudo Package specification
|
||||
|
||||
//## Subsystem: Figures
|
||||
|
||||
//## Source file: Prctngle.h
|
||||
|
||||
|
||||
|
||||
#ifndef Prctngle_h
|
||||
|
||||
#define Prctngle_h 1
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Rectangle
|
||||
|
||||
#include "Rectngle.h"
|
||||
|
||||
// PersFig
|
||||
|
||||
#include "PersFig.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
#include "PStream.h"
|
||||
|
||||
#include "Point.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
void archive(int &i, PStream &ps);
|
||||
|
||||
void archive(Point& i, PStream &ps);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Class: Prectangle
|
||||
|
||||
//## Category: Persist
|
||||
|
||||
//## Subsystem: Figures
|
||||
|
||||
//## Persistence: Transient
|
||||
|
||||
//## Cardinality/Multiplicity: n
|
||||
|
||||
|
||||
|
||||
class Prectangle : public PersFig, //## Inherits: <unnamed>
|
||||
|
||||
public Rectangle //## Inherits: <unnamed>
|
||||
|
||||
{
|
||||
|
||||
//## begin Prectangle.initialDeclarations preserve=yes
|
||||
|
||||
//## end Prectangle.initialDeclarations
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//## Constructors (generated)
|
||||
|
||||
Prectangle();
|
||||
|
||||
Prectangle(int x1, int y1, int x2, int y2, Color c);
|
||||
|
||||
Prectangle(const Prectangle &src);
|
||||
|
||||
Reference in New Issue
Block a user