Работа в среде проектирования Rational Rose. Гусин А.Н - 9 стр.

UptoLike

#include "Line.h"
//## begin module%3EC5CAA2025F.additionalDeclarations preserve=yes
//## end module%3EC5CAA2025F.additionalDeclarations
//## begin Tovar%3EC5CAA2025F.preface preserve=yes
//## end Tovar%3EC5CAA2025F.preface
//## Class: Tovar%3EC5CAA2025F
//## Category: <Top Level>
//## Persistence: Transient
//## Cardinality/Multiplicity: n
class Tovar
{
//## begin Tovar%3EC5CAA2025F.initialDeclarations preserve=yes
//## end Tovar%3EC5CAA2025F.initialDeclarations
public:
//## Constructors (generated)
Tovar();
Tovar(const Tovar &right);
//## Destructor (generated)
~Tovar();
//## Assignment Operation (generated)
Tovar & operator=(const Tovar &right);
//## Equality Operations (generated)
int operator==(const Tovar &right) const;
int operator!=(const Tovar &right) const;
//## Other Operations (specified)
//## Operation: Get_characters%3EC5CB4400E5
// Выводит характеристики товара
string Get_characters (char *Name, // Указатель на название товара
char *Price, // Указатель на цену товара
char *Color // Указатель на цвет товара
);
//## Get and Set Operations for Associations (generated)
//## Association: <unnamed>%3EC5CEED0147
//## Role: Tovar::<the_Line>%3EC5CEEF02A0
const Line * get_the_Line () const;
void set_the_Line (Line * value);
// Additional Public Declarations
//## begin Tovar%3EC5CAA2025F.public preserve=yes
//## end Tovar%3EC5CAA2025F.public
protected:
#include "Line.h"
//## begin module%3EC5CAA2025F.additionalDeclarations preserve=yes
//## end module%3EC5CAA2025F.additionalDeclarations

//## begin Tovar%3EC5CAA2025F.preface preserve=yes
//## end Tovar%3EC5CAA2025F.preface

//## Class: Tovar%3EC5CAA2025F
//## Category: 
//## Persistence: Transient
//## Cardinality/Multiplicity: n

class Tovar
{
  //## begin Tovar%3EC5CAA2025F.initialDeclarations preserve=yes
  //## end Tovar%3EC5CAA2025F.initialDeclarations

 public:
  //## Constructors (generated)
    Tovar();

   Tovar(const Tovar &right);

  //## Destructor (generated)
    ~Tovar();

  //## Assignment Operation (generated)
    Tovar & operator=(const Tovar &right);

  //## Equality Operations (generated)
    int operator==(const Tovar &right) const;

   int operator!=(const Tovar &right) const;

  //## Other Operations (specified)
    //## Operation: Get_characters%3EC5CB4400E5
    // Выводит характеристики товара
    string Get_characters (char *Name,     // Указатель на название товара
    char *Price,      // Указатель на цену товара
    char *Color       // Указатель на цвет товара
    );

  //## Get and Set Operations for Associations (generated)

   //## Association: %3EC5CEED0147
   //## Role: Tovar::%3EC5CEEF02A0
   const Line * get_the_Line () const;
   void set_the_Line (Line * value);

  // Additional Public Declarations
    //## begin Tovar%3EC5CAA2025F.public preserve=yes
    //## end Tovar%3EC5CAA2025F.public

 protected: