Eclipse SUMO - Simulation of Urban MObility
|
#include <AGSchool.h>
Public Member Functions | |
bool | acceptThisAge (int age) |
bool | addNewChild () |
AGSchool (int capacity_, AGPosition pos, int beginAge, int endAge, int open, int close) | |
int | getBeginAge () |
int | getClosingHour () |
int | getEndAge () |
int | getOpeningHour () |
int | getPlaces () |
AGPosition | getPosition () |
void | print () const |
bool | removeChild () |
Private Attributes | |
int | beginAge |
int | capacity |
int | closing |
int | endAge |
int | initCapacity |
AGPosition | location |
int | opening |
Definition at line 34 of file AGSchool.h.
|
inline |
Definition at line 36 of file AGSchool.h.
bool AGSchool::acceptThisAge | ( | int | age | ) |
Definition at line 64 of file AGSchool.cpp.
References beginAge.
bool AGSchool::addNewChild | ( | ) |
Definition at line 46 of file AGSchool.cpp.
References capacity.
Referenced by AGChild::setSchool().
int AGSchool::getBeginAge | ( | ) |
Definition at line 72 of file AGSchool.cpp.
References beginAge.
int AGSchool::getClosingHour | ( | ) |
Definition at line 87 of file AGSchool.cpp.
References closing.
Referenced by AGChild::getSchoolClosing().
int AGSchool::getEndAge | ( | ) |
Definition at line 77 of file AGSchool.cpp.
References endAge.
int AGSchool::getOpeningHour | ( | ) |
Definition at line 92 of file AGSchool.cpp.
References opening.
Referenced by AGChild::getSchoolOpening().
int AGSchool::getPlaces | ( | ) |
Definition at line 41 of file AGSchool.cpp.
References capacity.
AGPosition AGSchool::getPosition | ( | ) |
Definition at line 82 of file AGSchool.cpp.
References location.
Referenced by AGChild::getSchoolLocation().
void AGSchool::print | ( | ) | const |
bool AGSchool::removeChild | ( | ) |
Definition at line 55 of file AGSchool.cpp.
References capacity, and initCapacity.
Referenced by AGChild::leaveSchool().
|
private |
Definition at line 56 of file AGSchool.h.
Referenced by acceptThisAge(), getBeginAge(), and print().
|
private |
Definition at line 57 of file AGSchool.h.
Referenced by addNewChild(), getPlaces(), print(), and removeChild().
|
private |
Definition at line 60 of file AGSchool.h.
Referenced by getClosingHour(), and print().
|
private |
Definition at line 56 of file AGSchool.h.
Referenced by getEndAge(), and print().
|
private |
Definition at line 58 of file AGSchool.h.
Referenced by removeChild().
|
private |
Definition at line 59 of file AGSchool.h.
Referenced by getPosition().
|
private |
Definition at line 60 of file AGSchool.h.
Referenced by getOpeningHour(), and print().