1 /****************************************************************************/ 2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo 3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others. 4 // This program and the accompanying materials 5 // are made available under the terms of the Eclipse Public License v2.0 6 // which accompanies this distribution, and is available at 7 // http://www.eclipse.org/legal/epl-v20.html 8 // SPDX-License-Identifier: EPL-2.0 9 /****************************************************************************/ 10 /// @file NBConnectionDefs.h 11 /// @author Daniel Krajzewicz 12 /// @date Sept 2002 13 /// @version $Id$ 14 /// 15 // Some container for connections 16 /****************************************************************************/ 17 #ifndef NBConnectionDefs_h 18 #define NBConnectionDefs_h 19 20 21 // =========================================================================== 22 // included modules 23 // =========================================================================== 24 #include <config.h> 25 26 #include <vector> 27 #include <map> 28 #include "NBConnection.h" 29 30 31 // =========================================================================== 32 // definitions 33 // =========================================================================== 34 /// Definition of a connection vector 35 typedef std::vector<NBConnection> NBConnectionVector; 36 37 38 /** @brief Definition of a container for connection block dependencies 39 Includes a list of all connections which prohibit the key connection */ 40 typedef std::map<NBConnection, NBConnectionVector> NBConnectionProhibits; 41 42 43 #endif 44 45 /****************************************************************************/ 46 47