|
degate 0.1.1
|
00001 /* -*-c++-*- 00002 00003 This file is part of the IC reverse engineering tool degate. 00004 00005 Copyright 2008, 2009, 2010 by Martin Schobert 00006 00007 Degate is free software: you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation, either version 3 of the License, or 00010 any later version. 00011 00012 Degate is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with degate. If not, see <http://www.gnu.org/licenses/>. 00019 00020 */ 00021 00022 #ifndef __RCVBLACKLISTIMPORTER_H__ 00023 #define __RCVBLACKLISTIMPORTER_H__ 00024 00025 #include "globals.h" 00026 #include "RCViolation.h" 00027 #include "XMLImporter.h" 00028 00029 #include <stdexcept> 00030 00031 namespace degate { 00032 00033 /** 00034 * The RCVBlacklistImporter imports a list of RC violations, which should be ignored. 00035 */ 00036 00037 class RCVBlacklistImporter : public XMLImporter { 00038 private: 00039 00040 void parse_list(const xmlpp::Element * const element, RCBase::container_type & blacklist); 00041 LogicModel_shptr _lmodel; 00042 00043 public: 00044 RCVBlacklistImporter(LogicModel_shptr lmodel) : _lmodel(lmodel) {} 00045 ~RCVBlacklistImporter() {} 00046 00047 void import_into(std::string const& filename, RCBase::container_type & blacklist); 00048 }; 00049 00050 } 00051 #endif
1.7.4