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

UptoLike

// Additional Protected Declarations
//## begin Tovar%3EC5CAA2025F.protected preserve=yes
//## end Tovar%3EC5CAA2025F.protected
private:
//## Get and Set Operations for Class Attributes (generated)
//## Attribute: Name%3EC5CAD603E0
// Название товара
const char get_Name () const;
void set_Name (char value);
// Additional Private Declarations
//## begin Tovar%3EC5CAA2025F.private preserve=yes
//## end Tovar%3EC5CAA2025F.private
private: //## implementation
// Data Members for Class Attributes
//## begin Tovar::Name%3EC5CAD603E0.attr preserve=no private: char {U}
char Name;
//## end Tovar::Name%3EC5CAD603E0.attr
// Data Members for Associations
//## Association: <unnamed>%3EC5CEED0147
//## begin Tovar::<the_Line>%3EC5CEEF02A0.role preserve=no public: Line {1 ->
1RHGN}
Line *the_Line;
//## end Tovar::<the_Line>%3EC5CEEF02A0.role
// Additional Implementation Declarations
//## begin Tovar%3EC5CAA2025F.implementation preserve=yes
//## end Tovar%3EC5CAA2025F.implementation
};
//## begin Tovar%3EC5CAA2025F.postscript preserve=yes
//## end Tovar%3EC5CAA2025F.postscript
// Class Tovar
//## Get and Set Operations for Class Attributes (inline)
inline const char Tovar::get_Name () const
{
//## begin Tovar::get_Name%3EC5CAD603E0.get preserve=no
return Name;
//## end Tovar::get_Name%3EC5CAD603E0.get
}
inline void Tovar::set_Name (char value)
{
//## begin Tovar::set_Name%3EC5CAD603E0.set preserve=no
Name = value;
     // Additional Protected Declarations
       //## begin Tovar%3EC5CAA2025F.protected preserve=yes
       //## end Tovar%3EC5CAA2025F.protected

 private:
  //## Get and Set Operations for Class Attributes (generated)

      //## Attribute: Name%3EC5CAD603E0
      // Название товара
      const char get_Name () const;
      void set_Name (char value);

     // Additional Private Declarations
       //## begin Tovar%3EC5CAA2025F.private preserve=yes
       //## end Tovar%3EC5CAA2025F.private

 private: //## implementation
  // Data Members for Class Attributes

      //## begin Tovar::Name%3EC5CAD603E0.attr preserve=no private: char {U}
      char Name;
      //## end Tovar::Name%3EC5CAD603E0.attr

     // Data Members for Associations

  //## Association: %3EC5CEED0147
      //## begin Tovar::%3EC5CEEF02A0.role preserve=no public: Line {1 ->
1RHGN}
  Line *the_Line;
  //## end Tovar::%3EC5CEEF02A0.role

     // Additional Implementation Declarations
       //## begin Tovar%3EC5CAA2025F.implementation preserve=yes
       //## end Tovar%3EC5CAA2025F.implementation
};

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

// Class Tovar

//## Get and Set Operations for Class Attributes (inline)

inline const char Tovar::get_Name () const
{
  //## begin Tovar::get_Name%3EC5CAD603E0.get preserve=no
  return Name;
  //## end Tovar::get_Name%3EC5CAD603E0.get
}

inline void Tovar::set_Name (char value)
{
  //## begin Tovar::set_Name%3EC5CAD603E0.set preserve=no
  Name = value;