/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file NWWriter_MATSim.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @date Tue, 04.05.201117///18// Exporter writing networks using the MATSim format19/****************************************************************************/20#pragma once21#include <config.h>2223#include <string>24#include <map>25#include <utils/xml/SUMOSAXHandler.h>26#include <utils/common/UtilExceptions.h>272829// ===========================================================================30// class declarations31// ===========================================================================32class NBEdge;33class NBEdgeCont;34class NBNetBuilder;35class NBNode;36class NBNodeCont;37class NBTrafficLightLogicCont;38class NBTypeCont;39class OptionsCont;404142// ===========================================================================43// class definitions44// ===========================================================================45/**46* @class NWWriter_MATSim47* @brief Exporter writing networks using the MATSim format48*49*/50class NWWriter_MATSim {51public:52/** @brief Writes the network into a MATSim-file53*54* @param[in] oc The options to use55* @param[in] nb The network builder to fill56*/57static void writeNetwork(const OptionsCont& oc, NBNetBuilder& nb);5859};606162