SUMO - Simulation of Urban MObility

AGCar Class Reference

#include <AGCar.h>

Public Member Functions

 AGCar (std::string name)
 AGCar (int idHH, int idCar)
bool associateTo (AGAdult *pers)
std::string getName ()
bool isAssociated ()

Private Member Functions

std::string createName (int idHH, int idCar)

Private Attributes

AGAdult * currentUser
std::string idName

Detailed Description

Definition at line 45 of file AGCar.h.


Constructor & Destructor Documentation

AGCar::AGCar ( std::string  name) [inline]

Definition at line 47 of file AGCar.h.

AGCar::AGCar ( int  idHH,
int  idCar 
) [inline]

Definition at line 49 of file AGCar.h.


Member Function Documentation

bool AGCar::associateTo ( AGAdult *  pers)

Definition at line 53 of file AGCar.cpp.

References currentUser.

std::string AGCar::createName ( int  idHH,
int  idCar 
) [private]

Definition at line 46 of file AGCar.cpp.

std::string AGCar::getName ( )

Definition at line 67 of file AGCar.cpp.

References idName.

bool AGCar::isAssociated ( )

Definition at line 62 of file AGCar.cpp.

References currentUser.


Field Documentation

Definition at line 59 of file AGCar.h.

Referenced by associateTo(), and isAssociated().

std::string AGCar::idName [private]

Definition at line 58 of file AGCar.h.

Referenced by getName().


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines