first commit
This commit is contained in:
108
Lab7/cmpstcmp.h
Normal file
108
Lab7/cmpstcmp.h
Normal file
@@ -0,0 +1,108 @@
|
||||
//## begin module.cm preserve=no
|
||||
|
||||
// %X% %Q% %Z% %W%
|
||||
|
||||
//## end module.cm
|
||||
|
||||
|
||||
|
||||
//## begin module.cp preserve=no
|
||||
|
||||
//## end module.cp
|
||||
|
||||
|
||||
|
||||
//## Module: CompositeComponent; Pseudo Package specification
|
||||
|
||||
//## Subsystem: lab7
|
||||
|
||||
//## Source file: H:\kurs\avC++\lab7\CmpstCmp.h
|
||||
|
||||
|
||||
|
||||
#ifndef CmpstCmp_h
|
||||
|
||||
#define CmpstCmp_h 1
|
||||
|
||||
|
||||
|
||||
//## begin module.additionalIncludes preserve=no
|
||||
|
||||
//## end module.additionalIncludes
|
||||
|
||||
|
||||
|
||||
//## begin module.includes preserve=yes
|
||||
|
||||
//## end module.includes
|
||||
|
||||
|
||||
|
||||
// Component
|
||||
|
||||
#include "Compnent.h"
|
||||
|
||||
// ComponentList
|
||||
|
||||
#include "CmpnntLs.h"
|
||||
|
||||
//## begin module.additionalDeclarations preserve=yes
|
||||
|
||||
//## end module.additionalDeclarations
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Class: CompositeComponent
|
||||
|
||||
//## Category: lab7
|
||||
|
||||
//## Subsystem: lab7
|
||||
|
||||
//## Persistence: Transient
|
||||
|
||||
//## Cardinality/Multiplicity: n
|
||||
|
||||
|
||||
|
||||
class CompositeComponent : public Component //## Inherits: <unnamed>
|
||||
|
||||
{
|
||||
|
||||
//## begin CompositeComponent.initialDeclarations preserve=yes
|
||||
|
||||
//## end CompositeComponent.initialDeclarations
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//## Constructors (generated)
|
||||
|
||||
CompositeComponent();
|
||||
|
||||
|
||||
|
||||
//## Destructor (generated)
|
||||
|
||||
~CompositeComponent();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//## Other Operations (specified)
|
||||
|
||||
//## Operation: draw%940929799
|
||||
|
||||
void draw (Graphics& g);
|
||||
|
||||
|
||||
|
||||
//## Operation: add%940945810
|
||||
|
||||
void add (Component* c);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user