sumolib
index
/home/delphi/gcc/sumo/tools/sumolib/__init__.py

# -*- coding: utf-8 -*-
# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
# Copyright (C) 2011-2024 German Aerospace Center (DLR) and others.
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
https://www.eclipse.org/legal/epl-2.0/
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the Eclipse
# Public License 2.0 are satisfied: GNU General Public License, version 2
# or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later

 
Package Contents
       
color
datastructures (package)
files (package)
fpdiff
geomhelper
miscutils
net (package)
options
output (package)
route
scenario (package)
sensors (package)
shapes (package)
statistics
translation
vehicletype
version
visualization (package)
xml

 
Classes
       
builtins.object
TeeFile

 
class TeeFile(builtins.object)
    TeeFile(*outputfiles)
 
A helper class which allows simultaneous writes to several files
 
  Methods defined here:
__init__(self, *outputfiles)
Initialize self.  See help(type(self)) for accurate signature.
close(self)
closes all closable outputs
flush(self)
flushes all file contents to disc
write(self, txt)
Writes the text to all files

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
call(executable, args)
checkBinary(name, bindir=None)
Checks for the given binary in the places, defined by the environment
variables SUMO_HOME and <NAME>_BINARY.
open(fileOrURL, tryGZip=True, mode='rb')
saveConfiguration(executable, configoptions, filename)

 
Data
        absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 262144)