Revision b583731543e8ebe5290173f71ea708881365d200 authored by Lars Bilke on 08 February 2021, 19:35:20 UTC, committed by Lars Bilke on 15 February 2021, 14:12:59 UTC
Submodule commit b0bc24cfdda39b30145b1f6c2c84b801cd131fef was not available anymore in the master branch of ArashPartow/exprtk. The branch was maybe rebased? Used commit c7c219480d9678eec7383a4a99030683c4a84d91 instead (same commit date).
1 parent bdb9fb6
GeoType.cpp
/**
* \file
* \author Thomas Fischer
* \date 2010-12-01
* \brief Implementation of GEOTYPE enumeration helper functions.
*
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "GeoType.h"
#include <cstdlib>
#include "BaseLib/Error.h"
namespace GeoLib
{
std::string convertGeoTypeToString (GEOTYPE geo_type)
{
switch (geo_type)
{
case GEOTYPE::POINT: return "POINT";
case GEOTYPE::POLYLINE: return "POLYLINE";
case GEOTYPE::SURFACE: return "SURFACE";
}
// Cannot happen, because switch covers all cases.
// Used to silence compiler warning.
OGS_FATAL("convertGeoTypeToString(): Given geo type is not supported");
}
} // end namespace GeoLib
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...