Back to index

fet  5.18.0
Classes | Typedefs | Functions | Variables
studentsset.h File Reference
#include <QCoreApplication>
#include "timetable_defs.h"
#include <QList>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StudentsSet
 This class represents a set of students, for instance years, groups or subgroups. More...
class  StudentsYear
class  StudentsGroup
class  StudentsSubgroup

Typedefs

typedef QList< StudentsYear * > StudentsYearsList
typedef QList< StudentsGroup * > StudentsGroupsList
typedef QList< StudentsSubgroup * > StudentsSubgroupsList

Functions

int yearsAscending (const StudentsYear *y1, const StudentsYear *y2)
int groupsAscending (const StudentsGroup *g1, const StudentsGroup *g2)
int subgroupsAscending (const StudentsSubgroup *s1, const StudentsSubgroup *s2)

Variables

const int STUDENTS_SET = 0
const int STUDENTS_YEAR = 1
const int STUDENTS_GROUP = 2
const int STUDENTS_SUBGROUP = 3

Typedef Documentation

Definition at line 40 of file studentsset.h.

Definition at line 42 of file studentsset.h.

Definition at line 36 of file studentsset.h.


Function Documentation

int groupsAscending ( const StudentsGroup g1,
const StudentsGroup g2 
)

Definition at line 318 of file studentsset.cpp.

{
       return g1->name < g2->name;
}

Here is the caller graph for this function:

int subgroupsAscending ( const StudentsSubgroup s1,
const StudentsSubgroup s2 
)

Definition at line 323 of file studentsset.cpp.

{
       return s1->name < s2->name;
}

Here is the caller graph for this function:

int yearsAscending ( const StudentsYear y1,
const StudentsYear y2 
)

Definition at line 313 of file studentsset.cpp.

{
       return y1->name < y2->name;
}

Here is the caller graph for this function:


Variable Documentation

const int STUDENTS_GROUP = 2

Definition at line 29 of file studentsset.h.

const int STUDENTS_SET = 0

Definition at line 27 of file studentsset.h.

const int STUDENTS_SUBGROUP = 3

Definition at line 30 of file studentsset.h.

const int STUDENTS_YEAR = 1

Definition at line 28 of file studentsset.h.