/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2010-2025 German Aerospace Center (DLR) and others.3// activitygen module4// Copyright 2010 TUM (Technische Universitaet Muenchen, http://www.tum.de/)5// This program and the accompanying materials are made available under the6// terms of the Eclipse Public License 2.0 which is available at7// https://www.eclipse.org/legal/epl-2.0/8// This Source Code may also be made available under the following Secondary9// Licenses when the conditions for such availability set forth in the Eclipse10// Public License 2.0 are satisfied: GNU General Public License, version 211// or later which is available at12// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html13// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later14/****************************************************************************/15/// @file AGCar.h16/// @author Piotr Woznica17/// @author Daniel Krajzewicz18/// @author Walter Bamberger19/// @author Michael Behrisch20/// @date July 201021///22// Cars owned by people of the city: included in households.23/****************************************************************************/24#pragma once25#include <config.h>2627#include <iostream>28#include <string>29#include "AGAdult.h"303132// ===========================================================================33// class definitions34// ===========================================================================35class AGCar {36public:37AGCar(std::string name) :38idName(name) {};39AGCar(int idHH, int idCar) :40idName(createName(idHH, idCar)) {};41bool associateTo(AGAdult* pers);42bool isAssociated() const;43std::string getName() const;4445private:46std::string createName(int idHH, int idCar);4748std::string idName;49AGAdult* currentUser;5051};525354