/****************************************************************************/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 NBFrame.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @date 09.05.201117///18// Sets and checks options for netbuild19/****************************************************************************/20#pragma once21#include <config.h>2223#include <string>24#include <iostream>25#include <vector>26#include <set>27#include <utils/common/UtilExceptions.h>2829#include "NBEdgeCont.h"30#include "NBTypeCont.h"31#include "NBNodeCont.h"32#include "NBNode.h"33#include "NBTrafficLightLogicCont.h"34#include "NBDistrictCont.h"3536// ===========================================================================37// class definitions38// ===========================================================================39/**40* @class NBFrame41* @brief Sets and checks options for netbuild42*/43class NBFrame {4445public:46/** @brief Inserts options used by the network converter47* @param[in] forNetgen Whether netconvert options shall be omitted48*/49static void fillOptions(OptionsCont& oc, bool forNetgen);505152/** @brief Checks set options from the OptionsCont-singleton for being valid53* @return Whether needed (netbuild) options are set and have proper values54*/55static bool checkOptions(OptionsCont& oc);56};575859