/****************************************************************************/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 NILoader.h14/// @author Daniel Krajzewicz15/// @author Jakob Erdmann16/// @author Michael Behrisch17/// @date Tue, 20 Nov 200118///19// Perfoms network import20/****************************************************************************/21#pragma once22#include <config.h>2324#include <string>25#include <vector>26#include <xercesc/sax2/SAX2XMLReader.hpp>272829// ===========================================================================30// class declarations31// ===========================================================================32class OptionsCont;33class NBNetBuilder;34class Position;35class PositionVector;363738// ===========================================================================39// class definitions40// ===========================================================================41/**42* @class NILoader43* @brief Perfoms network import44*45* A plain loader which encapsulates calls to the import modules.46*/47class NILoader {48public:49/** @brief Constructor50* @param[in] nb The network builder to fill with loaded data51*/52NILoader(NBNetBuilder& nb);535455/// @brief Destructor56~NILoader();575859/** loads data from the files specified in the given option container */60void load(OptionsCont& oc);616263private:64/** loads data from sumo-files */65//void loadSUMO(OptionsCont &oc);6667/** loads data from XML-files */68bool loadXML(OptionsCont& oc);697071private:72/// @brief The network builder to fill with loaded data73NBNetBuilder& myNetBuilder;747576private:77/// @brief Invalidated copy constructor.78NILoader(const NILoader&);7980/// @brief Invalidated assignment operator.81NILoader& operator=(const NILoader&);828384};858687