first commit
This commit is contained in:
106
Lab6/pcircle.h
Normal file
106
Lab6/pcircle.h
Normal file
@@ -0,0 +1,106 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: Pcircle; Pseudo Package specification
|
||||
|
||||
//## Subsystem: Figures
|
||||
|
||||
//## Source file: Pcircle.h
|
||||
|
||||
|
||||
|
||||
#ifndef Pcircle_h
|
||||
|
||||
#define Pcircle_h 1
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Circle
|
||||
|
||||
#include "Circle.h"
|
||||
|
||||
// PersFig
|
||||
|
||||
#include "PersFig.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Class: Pcircle
|
||||
|
||||
//## Category: Persist
|
||||
|
||||
//## Subsystem: Figures
|
||||
|
||||
//## Persistence: Transient
|
||||
|
||||
//## Cardinality/Multiplicity: n
|
||||
|
||||
|
||||
|
||||
class Pcircle : public Circle, public PersFig //## Inherits: <unnamed>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Inherits: <unnamed>
|
||||
|
||||
{
|
||||
|
||||
//## begin Pcircle.initialDeclarations preserve=yes
|
||||
|
||||
//## end Pcircle.initialDeclarations
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//## Constructors (generated)
|
||||
|
||||
|
||||
|
||||
Pcircle(){};
|
||||
|
||||
Pcircle(int xPos, int yPos, int _radius, Color _color);
|
||||
|
||||
Pcircle(const Pcircle &src);
|
||||
|
||||
|
||||
|
||||
//## Destructor (generated)
|
||||
|
||||
~Pcircle();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user