50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
//## begin module.cm preserve=no
|
|
|
|
// %X% %Q% %Z% %W%
|
|
|
|
//## end module.cm
|
|
|
|
|
|
|
|
//## begin module.cp preserve=no
|
|
|
|
//## end module.cp
|
|
|
|
|
|
|
|
//## Module: ComponentList; Pseudo Package specification
|
|
|
|
//## Subsystem: lab7
|
|
|
|
//## Source file: H:\kurs\avC++\lab7\CmpnntLs.h
|
|
|
|
|
|
|
|
#ifndef CmpnntLs_h
|
|
|
|
#define CmpnntLs_h 1
|
|
|
|
|
|
|
|
//## begin module.additionalIncludes preserve=no
|
|
|
|
//## end module.additionalIncludes
|
|
|
|
|
|
|
|
//## begin module.includes preserve=yes
|
|
|
|
//## end module.includes
|
|
|
|
|
|
|
|
// Component
|
|
|
|
#include "Compnent.h"
|
|
|
|
// XList
|
|
|
|
#include "List.h"
|
|
|
|
//## begin module.additionalDeclarations preserve=yes
|
|
|
|
class Component;
|
|
|
|
//## end module.additionalDeclarations
|
|
|
|
|
|
|
|
|
|
|
|
//## Class: ComponentList; Instantiated Class
|
|
|
|
//## Category: lab7
|
|
|
|
//## Subsystem: lab7
|
|
|
|
//## Persistence: Transient
|
|
|
|
//## Cardinality/Multiplicity: n
|
|
|
|
|
|
|
|
//## Uses: <unnamed>; Component { -> }
|
|
|
|
|
|
|
|
typedef List< Component* > ComponentList;
|
|
|
|
|
|
|
|
//## begin ComponentList.postscript preserve=yes
|
|
|
|
//## end ComponentList.postscript
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//## begin module.epilog preserve=yes
|
|
|
|
//## end module.epilog
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|