Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

Module Class Reference

Inheritance diagram for Module:

Inheritance graph
[legend]
Collaboration diagram for Module:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Module ()
 Module (int pID, Programme *parent, QString name, QString nomenclature, int duration, int weeklyPeriods, short pSemester)
virtual QString getDescription () const
QString getName () const
QString getNomenclature () const
int getDuration () const
int getWeeklyPeriods () const
short getSemester () const
InstitutegetInst ()
QString getInstName () const
int getInstID ()
ProgrammegetProg ()
QString getProgName () const
int getProgID ()
bool setName (QString pName)
bool setNomenclature (QString pNomenclature)
bool setDuration (int pDuration)
bool setWeeklyPeriods (int pPeriods)
bool setSemester (int pSem)
bool isEvenSem ()
bool isOddSem ()

Static Public Member Functions

static void PrepareSQL (sql *dbConn)
static bool uniqueName (QString name, int parentID)
static bool uniqueNomenclature (QString nomenclature, int parentID)

Protected Member Functions

void bindValues (int preparedSQL, int start)

Static Protected Attributes

static int insertSQL = 0
static int updateSQL = 0
static int deleteSQL = 0
static int uniqueNameSQL = 0
static int uniqueNomenclatureSQL = 0
static int errorSQL = 0

Friends

class ModuleItem

Detailed Description

Definition at line 27 of file Module.h.


The documentation for this class was generated from the following files:
Generated on Thu Apr 6 16:27:18 2006 for time-table by  doxygen 1.4.4