Bog'liq Курсовая Проектирование ИС ПИ-64 Спиридонов
Приложение А - Листинг кода приложения на языке С++
//## begin module%1.2%.codegen_version preserve=yes
// Read the documentation to learn more about C++ code generator
// versioning.
//## end module%1.2%.codegen_version
//## Module: DataBase%4557238F03A5; Task specification
//## Subsystem: dataBase%45571B6A0339
//## Source file: D:\RR2000\Rose 2000\C++\source\dataBase\DataBase.h
#ifndef DataBase_h
#define DataBase_h 1
//## begin module%4557238F03A5.additionalIncludes preserve=no
//## end module%4557238F03A5.additionalIncludes
//## begin module%4557238F03A5.includes preserve=yes
//## end module%4557238F03A5.includes
// Add/Select Tovar
#include "Form\AddSelect Tovar.h"
// Add/Select Postav
#include "Form\AddSelect Postav.h"
// Card Sklad_Uche
#include "Form\Card Sklad_Uche.h"
//## begin module%4557238F03A5.declarations preserve=no
//## end module%4557238F03A5.declarations
//## begin module%4557238F03A5.additionalDeclarations preserve=yes
//## end module%4557238F03A5.additionalDeclarations
//## begin DataBase%4553764E01EE.preface preserve=yes
//## end DataBase%4553764E01EE.preface
//## Class: DataBase%4553764E01EE
//## Category: DataBase%455718440037
//## Subsystem: dataBase%45571B6A0339
//## Persistence: Transient
//## Cardinality/Multiplicity: nDataBase
{//## begin DataBase%4553764E01EE.initialDeclarations preserve=yes
//## end DataBase%4553764E01EE.initialDeclarations:
//## Constructors (generated)();(const DataBase &right);
//## Destructor (generated)
~DataBase();
//## Other Operations (specified)
//## Operation: Query to DataBase%455376E8004B/Select Tovar Query_to_DataBase ();
//## Operation: Query to DataBase on generation Sklad_Uchet card%455376EF009BSklad_Uchet Query_to_DataBase_on_generation_Sklad_Uchet_card ();
//## Get and Set Operations for Associations (generated)
//## Association: DB-Card%45538D6F01DE
//## Role: DataBase::%45538D700027UnboundedSetByReference get_the_Card_Sklad_Uchet () const;set_the_Card_Sklad_Uchet (UnboundedSetByReference value);:
// Additional Protected Declarations
//## begin DataBase%4553764E01EE.protected preserve=yes
//## end DataBase%4553764E01EE.protected:
//## Get and Set Operations for Class Attributes (generated)
//## Attribute: IDCard%45538A53012FInteger get_IDCard () const;set_IDCard (Integer value);
//## Attribute: Tovar%45538A5F028BString get_Tovar () const;set_Tovar (String value);
// Additional Private Declarations
//## begin DataBase%4553764E01EE.private preserve=yes
//## end DataBase%4553764E01EE.private: //## implementation
// Data Members for Class Attributes
//## begin DataBase::IDCard%45538A53012F.attr preserve=no private: Integer {U}IDCard;
//## end DataBase::IDCard%45538A53012F.attr
//## begin DataBase::Tovar%45538A5F028B.attr preserve=no private: String {U}Tovar;
//## end DataBase::Tovar%45538A5F028B.attr
// Data Members for Associations
//## Association: DB-Card%45538D6F01DE
//## begin DataBase::%45538D700027.role preserve=no public: Card_Sklad_Uchet {0..n -> 1..nRHN} the_Card_Sklad_Uchet;
//## end DataBase::%45538D700027.role
// Additional Implementation Declarations
//## begin DataBase%4553764E01EE.implementation preserve=yes
//## end DataBase%4553764E01EE.implementation
};
//## begin DataBase%4553764E01EE.postscript preserve=yes
//## end DataBase%4553764E01EE.postscript
// Class DataBase
//## Get and Set Operations for Class Attributes (inline)const Integer DataBase::get_IDCard () const
{ //## begin DataBase::get_IDCard%45538A53012F.get preserve=noIDCard;
//## end DataBase::get_IDCard%45538A53012F.get
}void DataBase::set_IDCard (Integer value)
{ //## begin DataBase::set_IDCard%45538A53012F.set preserve=no= value;
//## end DataBase::set_IDCard%45538A53012F.set
}const String DataBase::get_Tovar () const
{
//## begin DataBase::get_Tovar%45538A5F028B.get preserve=noTovar;
//## end DataBase::get_Tovar%45538A5F028B.get
}void DataBase::set_Tovar (String value)
{ //## begin DataBase::set_Tovar%45538A5F028B.set preserve=no= value;
//## end DataBase::set_Tovar%45538A5F028B.set
}
//## Get and Set Operations for Associations (inline)const UnboundedSetByReference::get_the_Card_Sklad_Uchet () const
{ //## begin DataBase::get_the_Card_Sklad_Uchet%45538D700027.get preserve=nothe_Card_Sklad_Uchet;
//## end DataBase::get_the_Card_Sklad_Uchet%45538D700027.get
}void DataBase::set_the_Card_Sklad_Uchet
(UnboundedSetByReference value)
{ //## begin DataBase::set_the_Card_Sklad_Uchet%45538D700027.set preserve=no_Card_Sklad_Uchet = value;
//## end DataBase::set_the_Card_Sklad_Uchet%45538D700027.set
}
//## begin module%4557238F03A5.epilog preserve=yes
//## end module%4557238F03A5.epilog
#endif