SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00009 // SAX-handler base for SUMO-files 00010 /****************************************************************************/ 00011 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00012 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors 00013 /****************************************************************************/ 00014 // 00015 // This file is part of SUMO. 00016 // SUMO is free software: you can redistribute it and/or modify 00017 // it under the terms of the GNU General Public License as published by 00018 // the Free Software Foundation, either version 3 of the License, or 00019 // (at your option) any later version. 00020 // 00021 /****************************************************************************/ 00022 00023 00024 // =========================================================================== 00025 // included modules 00026 // =========================================================================== 00027 #ifdef _MSC_VER 00028 #include <windows_config.h> 00029 #else 00030 #include <config.h> 00031 #endif 00032 00033 #include <string> 00034 #include <iostream> 00035 #include <utils/xml/GenericSAXHandler.h> 00036 #include "SUMOXMLDefinitions.h" 00037 #include "SUMOSAXHandler.h" 00038 00039 #ifdef CHECK_MEMORY_LEAKS 00040 #include <foreign/nvwa/debug_new.h> 00041 #endif // CHECK_MEMORY_LEAKS 00042 00043 00044 // =========================================================================== 00045 // method definitions 00046 // =========================================================================== 00047 SUMOSAXHandler::SUMOSAXHandler(const std::string& file) 00048 : GenericSAXHandler(SUMOXMLDefinitions::tags, SUMO_TAG_NOTHING, 00049 SUMOXMLDefinitions::attrs, SUMO_ATTR_NOTHING, file) {} 00050 00051 00052 SUMOSAXHandler::~SUMOSAXHandler() {} 00053 00054 00055 /****************************************************************************/ 00056