Overpass API regression suite coverage (Saxony) / overpass_api/statements/string_endomorphisms.cc
overpass_api/statements/string_endomorphisms.cc
139 of 139 instrumented lines run by the suite (100.0%) at 8edf11b0419c (this file on GitHub).
runnever runcolumns: line, executions, queries (click for the queries that run the line)
1/** Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Roland Olbricht et al.2 *3 * This file is part of Overpass_API.4 *5 * Overpass_API is free software: you can redistribute it and/or modify6 * it under the terms of the GNU Affero General Public License as7 * published by the Free Software Foundation, either version 3 of the8 * License, or (at your option) any later version.9 *10 * Overpass_API is distributed in the hope that it will be useful,11 * but WITHOUT ANY WARRANTY; without even the implied warranty of12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13 * GNU General Public License for more details.14 *15 * You should have received a copy of the GNU Affero General Public License16 * along with Overpass_API. If not, see <http://www.gnu.org/licenses/>.17 */19#include "../data/tag_store.h"20#include "../data/utils.h"21#include "string_endomorphisms.h"24String_Endom_Statement_Maker< Evaluator_Number > Evaluator_Number::statement_maker;25String_Endom_Evaluator_Maker< Evaluator_Number > Evaluator_Number::evaluator_maker;28std::string Evaluator_Number::process(const std::string& rhs_s) const42//-----------------------------------------------------------------------------45String_Endom_Statement_Maker< Evaluator_Is_Num > Evaluator_Is_Num::statement_maker;46String_Endom_Evaluator_Maker< Evaluator_Is_Num > Evaluator_Is_Num::evaluator_maker;49std::string Evaluator_Is_Num::process(const std::string& rhs_s) const63//-----------------------------------------------------------------------------66String_Endom_Statement_Maker< Evaluator_Suffix > Evaluator_Suffix::statement_maker;67String_Endom_Evaluator_Maker< Evaluator_Suffix > Evaluator_Suffix::evaluator_maker;70std::string Evaluator_Suffix::process(const std::string& rhs_s) const76//-----------------------------------------------------------------------------79String_Endom_Statement_Maker< Evaluator_Abs > Evaluator_Abs::statement_maker;80String_Endom_Evaluator_Maker< Evaluator_Abs > Evaluator_Abs::evaluator_maker;83std::string Evaluator_Abs::process(const std::string& rhs_s) const97//-----------------------------------------------------------------------------100String_Endom_Statement_Maker< Evaluator_Date > Evaluator_Date::statement_maker;101String_Endom_Evaluator_Maker< Evaluator_Date > Evaluator_Date::evaluator_maker;104std::string Evaluator_Date::process(const std::string& rhs_s) const106 //First run: try for year, month, day, hour, minute, second171//-----------------------------------------------------------------------------174String_Endom_Statement_Maker< Evaluator_Is_Date > Evaluator_Is_Date::statement_maker;175String_Endom_Evaluator_Maker< Evaluator_Is_Date > Evaluator_Is_Date::evaluator_maker;178std::string Evaluator_Is_Date::process(const std::string& rhs_s) const180 //First run: try for year, month, day, hour, minute, second