LCOV - code coverage report
Current view: top level - src/utils/xml - SUMOSAXHandler.cpp (source / functions) Coverage Total Hit
Test: lcov.info Lines: 100.0 % 3 3
Test Date: 2024-11-20 15:55:46 Functions: 66.7 % 3 2

            Line data    Source code
       1              : /****************************************************************************/
       2              : // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo
       3              : // Copyright (C) 2002-2024 German Aerospace Center (DLR) and others.
       4              : // This program and the accompanying materials are made available under the
       5              : // terms of the Eclipse Public License 2.0 which is available at
       6              : // https://www.eclipse.org/legal/epl-2.0/
       7              : // This Source Code may also be made available under the following Secondary
       8              : // Licenses when the conditions for such availability set forth in the Eclipse
       9              : // Public License 2.0 are satisfied: GNU General Public License, version 2
      10              : // or later which is available at
      11              : // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
      12              : // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
      13              : /****************************************************************************/
      14              : /// @file    SUMOSAXHandler.cpp
      15              : /// @author  Daniel Krajzewicz
      16              : /// @author  Jakob Erdmann
      17              : /// @author  Michael Behrisch
      18              : /// @date    Sept 2002
      19              : ///
      20              : // SAX-handler base for SUMO-files
      21              : /****************************************************************************/
      22              : #include <config.h>
      23              : 
      24              : #include <string>
      25              : #include <iostream>
      26              : #include <utils/xml/GenericSAXHandler.h>
      27              : #include "SUMOXMLDefinitions.h"
      28              : #include "SUMOSAXHandler.h"
      29              : 
      30              : 
      31              : // ===========================================================================
      32              : // method definitions
      33              : // ===========================================================================
      34       158575 : SUMOSAXHandler::SUMOSAXHandler(const std::string& file, const std::string& expectedRoot)
      35              :     : GenericSAXHandler(SUMOXMLDefinitions::tags, SUMO_TAG_NOTHING,
      36       158575 :                         SUMOXMLDefinitions::attrs, SUMO_ATTR_NOTHING, file, expectedRoot) {}
      37              : 
      38              : 
      39       155797 : SUMOSAXHandler::~SUMOSAXHandler() {}
      40              : 
      41              : 
      42              : /****************************************************************************/
        

Generated by: LCOV version 2.0-1