Создание диаграммы классов и кода на С++ в среде Enterprise Architect, страница 2

void fillfigure::paint(){

}

int fillfigure::prov_correct_figure(int a){

              return 0;

}

int fillfigure::prov_figure_on_display(int a){

              return 0;

}

void fillfigure::setgraph(int zt, int zc){

}

///////////////////////////////////////////////////////////

//  fillfigure.h

//  Implementation of the Class fillfigure

//  Created on:      10-ноя-2008 12:28:45

//  Original author: s050107226

///////////////////////////////////////////////////////////

#if !defined(EA_E63F2A0D_026C_4552_9D44_FA28902C2E79__INCLUDED_)

#define EA_E63F2A0D_026C_4552_9D44_FA28902C2E79__INCLUDED_

#include "fill.h"

#include "kontur.h"

class fillfigure : public fill, public kontur

{

public:

              fillfigure();

              virtual ~fillfigure();

              void getgraph(int zt, int zc);

              void paint();

              void setgraph(int zt, int zc);

protected:

              int prov_correct_figure(int a);

              int prov_figure_on_display(int a);

};

#endif // !defined(EA_E63F2A0D_026C_4552_9D44_FA28902C2E79__INCLUDED_)

///////////////////////////////////////////////////////////

//  combo.cpp

//  Implementation of the Class combo

//  Created on:      10-ноя-2008 12:28:44

//  Original author: s050107226

///////////////////////////////////////////////////////////

#include "combo.h"

combo::combo(){

}

combo::~combo(){

}

void combo::getfull(int k){

}

void combo::getgeom(int b){

}

void combo::paint(){

}

int combo::prov_correct_figure(int a){

              return 0;

}

int combo::prov_figure_in_figure(){

              return 0;

}

int combo::prov_figure_on_display(int a){

              return 0;

}

void combo::setfull(int k){

}

void combo::setgeom(int b){

}

///////////////////////////////////////////////////////////

//  combo.h

//  Implementation of the Class combo

//  Created on:      10-ноя-2008 12:28:44

//  Original author: s050107226

///////////////////////////////////////////////////////////

#if !defined(EA_0BAFE2F4_3249_4d78_AAD0_6A917CD6D5FA__INCLUDED_)

#define EA_0BAFE2F4_3249_4d78_AAD0_6A917CD6D5FA__INCLUDED_

#include "fillfigure.h"

class combo : public fillfigure

{

public:

              combo();

              virtual ~combo();

              void getfull(int k);

              void getgeom(int b);

              void paint();

              int prov_figure_in_figure();

              void setfull(int k);

              void setgeom(int b);

protected:

              int full;

              int x1;

              int prov_correct_figure(int a);

              int prov_figure_on_display(int a);

};

#endif // !defined(EA_0BAFE2F4_3249_4d78_AAD0_6A917CD6D5FA__INCLUDED_)

///////////////////////////////////////////////////////////

//  list.h

//  Implementation of the Class list

//  Created on:      10-ноя-2008 12:28:46

//  Original author: s050107226

///////////////////////////////////////////////////////////

#if !defined(EA_0C4FC4DB_A1F1_4537_81BB_20DBA7BD4E27__INCLUDED_)

#define EA_0C4FC4DB_A1F1_4537_81BB_20DBA7BD4E27__INCLUDED_

#include "member.h"

template<Class obj>

class list

{

public:

              list();

              virtual ~list();

              member *m_member;

void add(int n, obj rect1){

}

              void delete_el(int n){

}

              int poisk(int n, obj fined){

                            return 0;

              }

              void show_pr(){

              }

protected:

              member* fined;

              member* first_memb;

              member* last_memb;

};

#endif // !defined(EA_0C4FC4DB_A1F1_4537_81BB_20DBA7BD4E27__INCLUDED_)

///////////////////////////////////////////////////////////

//  member.h

//  Implementation of the Class member

//  Created on:      10-ноя-2008 12:28:46

//  Original author: s050107226

///////////////////////////////////////////////////////////

#if !defined(EA_1E34AC5F_97A0_4c07_8C5B_1458A15A63E2__INCLUDED_)

#define EA_1E34AC5F_97A0_4c07_8C5B_1458A15A63E2__INCLUDED_

template<class obj>

class member

{

public:

              member();

              virtual ~member();

              member* next;

              int number;

              member* prev;

              obj rect;

};

#endif // !defined(EA_1E34AC5F_97A0_4c07_8C5B_1458A15A63E2__INCLUDED_)