Разработка объектно-ориентированной модели информационной подсистемы для деканата ВУЗа (учет успеваемости студентов)

Разработка объектно-ориентированной модели подсистемы "StudentCount" для деканата ВУЗа (автоматизация учета студентов и их успеваемости). Для решения данной задачи использовалось CASE–средство Rational Rose, сгенерирован программный код для языка С++.

Рубрика Программирование, компьютеры и кибернетика
Вид курсовая работа
Язык русский
Дата добавления 28.06.2011
Размер файла 2,4 M

Отправить свою хорошую работу в базу знаний просто. Используйте форму, расположенную ниже

Студенты, аспиранты, молодые ученые, использующие базу знаний в своей учебе и работе, будут вам очень благодарны.

//## Equality Operations (generated)

int operator==(const DataBase &right) const;

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

//## Other Operations (specified)

//## Operation: Connect%4E02167B00C7

Boolean Connect ();

//## Operation: Disconnect%4E02168B02E4

Boolean Disconnect ();

//## Operation: GetRecord%4E0216B203AF

Boolean GetRecord ();

//## Operation: UpdateRecord%4E0216BC012F

Boolean UpdateRecord ();

// Additional Public Declarations

//## begin DataBase%4DFF7F710228.public preserve=yes

//## end DataBase%4DFF7F710228.public

protected:

// Additional Protected Declarations

//## begin DataBase%4DFF7F710228.protected preserve=yes

//## end DataBase%4DFF7F710228.protected

private:

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

//## Attribute: DBname%4E0216490364

const String get_DBname () const;

void set_DBname (String value);

//## Attribute: ServerName%4E02164F026B

const String get_ServerName () const;

void set_ServerName (String value);

//## Attribute: DBPassword%4E02165B01E6

const String get_DBPassword () const;

void set_DBPassword (String value);

// Additional Private Declarations

//## begin DataBase%4DFF7F710228.private preserve=yes

//## end DataBase%4DFF7F710228.private

private: //## implementation

// Data Members for Class Attributes

//## begin DataBase::DBname%4E0216490364.attr preserve=no private: String {U}

String DBname;

//## end DataBase::DBname%4E0216490364.attr

//## begin DataBase::ServerName%4E02164F026B.attr preserve=no private: String {U}

String ServerName;

//## end DataBase::ServerName%4E02164F026B.attr

//## begin DataBase::DBPassword%4E02165B01E6.attr preserve=no private: String {U}

String DBPassword;

//## end DataBase::DBPassword%4E02165B01E6.attr

// Additional Implementation Declarations

//## begin DataBase%4DFF7F710228.implementation preserve=yes

//## end DataBase%4DFF7F710228.implementation

};

//## begin DataBase%4DFF7F710228.postscript preserve=yes

//## end DataBase%4DFF7F710228.postscript

// Class DataBase

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

inline const String DataBase::get_DBname () const

{

//## begin DataBase::get_DBname%4E0216490364.get preserve=no

return DBname;

//## end DataBase::get_DBname%4E0216490364.get

}

inline void DataBase::set_DBname (String value)

{

//## begin DataBase::set_DBname%4E0216490364.set preserve=no

DBname = value;

//## end DataBase::set_DBname%4E0216490364.set

}

inline const String DataBase::get_ServerName () const

{

//## begin DataBase::get_ServerName%4E02164F026B.get preserve=no

return ServerName;

//## end DataBase::get_ServerName%4E02164F026B.get

}

inline void DataBase::set_ServerName (String value)

{

//## begin DataBase::set_ServerName%4E02164F026B.set preserve=no

ServerName = value;

//## end DataBase::set_ServerName%4E02164F026B.set

}

inline const String DataBase::get_DBPassword () const

{

//## begin DataBase::get_DBPassword%4E02165B01E6.get preserve=no

return DBPassword;

//## end DataBase::get_DBPassword%4E02165B01E6.get

}

inline void DataBase::set_DBPassword (String value)

{

//## begin DataBase::set_DBPassword%4E02165B01E6.set preserve=no

DBPassword = value;

//## end DataBase::set_DBPassword%4E02165B01E6.set

}

//## begin module%4E0235060105.epilog preserve=yes

//## end module%4E0235060105.epilog

#endif

Sourcefile DataBase.cpp

//## begin module%1.7%.codegen_version preserve=yes

// Read the documentation to learn more about C++ code generator

// versioning.

//## end module%1.7%.codegen_version

//## begin module%4E0235620195.cm preserve=no

// %X% %Q% %Z% %W%

//## end module%4E0235620195.cm

//## begin module%4E0235620195.cp preserve=no

//## end module%4E0235620195.cp

//## Module: DataBase%4E0235620195; Package body

//## Subsystem: <Top Level>

//## Source file: C:\Program Files\Rational\Rose\C++\source\DataBase.cpp

//## begin module%4E0235620195.additionalIncludes preserve=no

//## end module%4E0235620195.additionalIncludes

//## begin module%4E0235620195.includes preserve=yes

//## end module%4E0235620195.includes

// DataBase

#include "DataBase.h"

//## begin module%4E0235620195.declarations preserve=no

//## end module%4E0235620195.declarations

//## begin module%4E0235620195.additionalDeclarations preserve=yes

//## end module%4E0235620195.additionalDeclarations

// Class DataBase

DataBase::DataBase()

//## begin DataBase::DataBase%4DFF7F710228_const.hasinit preserve=no

//## end DataBase::DataBase%4DFF7F710228_const.hasinit

//## begin DataBase::DataBase%4DFF7F710228_const.initialization preserve=yes

//## end DataBase::DataBase%4DFF7F710228_const.initialization

{

//## begin DataBase::DataBase%4DFF7F710228_const.body preserve=yes

//## end DataBase::DataBase%4DFF7F710228_const.body

}

DataBase::DataBase(const DataBase &right)

//## begin DataBase::DataBase%4DFF7F710228_copy.hasinit preserve=no

//## end DataBase::DataBase%4DFF7F710228_copy.hasinit

//## begin DataBase::DataBase%4DFF7F710228_copy.initialization preserve=yes

//## end DataBase::DataBase%4DFF7F710228_copy.initialization

{

//## begin DataBase::DataBase%4DFF7F710228_copy.body preserve=yes

//## end DataBase::DataBase%4DFF7F710228_copy.body

}

DataBase::~DataBase()

{

//## begin DataBase::~DataBase%4DFF7F710228_dest.body preserve=yes

//## end DataBase::~DataBase%4DFF7F710228_dest.body

}

DataBase & DataBase::operator=(const DataBase &right)

{

//## begin DataBase::operator=%4DFF7F710228_assign.body preserve=yes

//## end DataBase::operator=%4DFF7F710228_assign.body

}

int DataBase::operator==(const DataBase &right) const

{

//## begin DataBase::operator==%4DFF7F710228_eq.body preserve=yes

//## end DataBase::operator==%4DFF7F710228_eq.body

}

int DataBase::operator!=(const DataBase &right) const

{

//## begin DataBase::operator!=%4DFF7F710228_neq.body preserve=yes

//## end DataBase::operator!=%4DFF7F710228_neq.body

}

//## Other Operations (implementation)

Boolean DataBase::Connect ()

{

//## begin DataBase::Connect%4E02167B00C7.body preserve=yes

//## end DataBase::Connect%4E02167B00C7.body

}

Boolean DataBase::Disconnect ()

{

//## begin DataBase::Disconnect%4E02168B02E4.body preserve=yes

//## end DataBase::Disconnect%4E02168B02E4.body

}

Boolean DataBase::GetRecord ()

{

//## begin DataBase::GetRecord%4E0216B203AF.body preserve=yes

//## end DataBase::GetRecord%4E0216B203AF.body

}

Boolean DataBase::UpdateRecord ()

{

//## begin DataBase::UpdateRecord%4E0216BC012F.body preserve=yes

//## end DataBase::UpdateRecord%4E0216BC012F.body

}

// Additional Declarations

//## begin DataBase%4DFF7F710228.declarations preserve=yes

//## end DataBase%4DFF7F710228.declarations

//## begin module%4E0235620195.epilog preserve=yes

//## end module%4E0235620195.epilog

Размещено на http://www.allbest.ru/


Подобные документы

Работы в архивах красиво оформлены согласно требованиям ВУЗов и содержат рисунки, диаграммы, формулы и т.д.
PPT, PPTX и PDF-файлы представлены только в архивах.
Рекомендуем скачать работу.