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 () |
bool | removeChild () |
Private Attributes | |
int | beginAge |
int | capacity |
int | closing |
int | endAge |
int | initCapacity |
AGPosition | location |
int | opening |
Definition at line 44 of file AGSchool.h.
AGSchool::AGSchool | ( | int | capacity_, |
AGPosition | pos, | ||
int | beginAge, | ||
int | endAge, | ||
int | open, | ||
int | close | ||
) | [inline] |
Definition at line 46 of file AGSchool.h.
bool AGSchool::acceptThisAge | ( | int | age | ) |
Definition at line 73 of file AGSchool.cpp.
References beginAge.
Definition at line 55 of file AGSchool.cpp.
References capacity.
Referenced by AGChild::setSchool().
Definition at line 81 of file AGSchool.cpp.
References beginAge.
Definition at line 96 of file AGSchool.cpp.
References closing.
Referenced by AGChild::getSchoolClosing().
Definition at line 86 of file AGSchool.cpp.
References endAge.
Definition at line 101 of file AGSchool.cpp.
References opening.
Referenced by AGChild::getSchoolOpeining().
Definition at line 50 of file AGSchool.cpp.
References capacity.
Definition at line 91 of file AGSchool.cpp.
References location.
Referenced by AGChild::getSchoolLocation().
void AGSchool::print | ( | ) |
Definition at line 64 of file AGSchool.cpp.
References capacity, and initCapacity.
Referenced by AGChild::leaveSchool().
int AGSchool::beginAge [private] |
Definition at line 66 of file AGSchool.h.
Referenced by acceptThisAge(), getBeginAge(), and print().
int AGSchool::capacity [private] |
Definition at line 67 of file AGSchool.h.
Referenced by addNewChild(), getPlaces(), print(), and removeChild().
int AGSchool::closing [private] |
Definition at line 70 of file AGSchool.h.
Referenced by getClosingHour(), and print().
int AGSchool::endAge [private] |
Definition at line 66 of file AGSchool.h.
Referenced by getEndAge(), and print().
int AGSchool::initCapacity [private] |
Definition at line 68 of file AGSchool.h.
Referenced by removeChild().
AGPosition AGSchool::location [private] |
Definition at line 69 of file AGSchool.h.
Referenced by getPosition().
int AGSchool::opening [private] |
Definition at line 70 of file AGSchool.h.
Referenced by getOpeningHour(), and print().