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    NBFrame.h
11 /// @author  Daniel Krajzewicz
12 /// @author  Michael Behrisch
13 /// @date    09.05.2011
14 /// @version $Id$
15 ///
16 // Sets and checks options for netbuild
17 /****************************************************************************/
18 #ifndef NBFrame_h
19 #define NBFrame_h
20 
21 
22 // ===========================================================================
23 // included modules
24 // ===========================================================================
25 #include <config.h>
26 
27 #include <string>
28 #include <iostream>
29 #include <vector>
30 #include <set>
31 #include "NBEdgeCont.h"
32 #include "NBTypeCont.h"
33 #include "NBNodeCont.h"
34 #include "NBNode.h"
35 #include "NBTrafficLightLogicCont.h"
36 #include "NBDistrictCont.h"
37 #include <utils/common/UtilExceptions.h>
38 
39 
40 // ===========================================================================
41 // class definitions
42 // ===========================================================================
43 /**
44  * @class NBFrame
45  * @brief Sets and checks options for netbuild
46  */
47 class NBFrame {
48 public:
49     /** @brief Inserts options used by the network converter
50      * @param[in] forNetgen Whether netconvert options shall be omitted
51      */
52     static void fillOptions(bool forNetgen);
53 
54 
55     /** @brief Checks set options from the OptionsCont-singleton for being valid
56      * @return Whether needed (netbuild) options are set and have proper values
57      */
58     static bool checkOptions();
59 
60 
61 };
62 
63 
64 #endif
65 
66 /****************************************************************************/
67 
68