GEOS  3.13.0dev
string.h
1 /**********************************************************************
2  *
3  * GEOS - Geometry Engine Open Source
4  * http://geos.osgeo.org
5  *
6  * Copyright (C) 2022 ISciences LLC
7  *
8  * This is free software; you can redistribute and/or modify it under
9  * the terms of the GNU Lesser General Public Licence as published
10  * by the Free Software Foundation.
11  * See the COPYING file for more information.
12  *
13  **********************************************************************/
14 
15 #pragma once
16 
17 #include <string>
18 
19 namespace geos {
20 namespace util {
21 
22 bool endsWith(const std::string & s, const std::string & suffix);
23 bool endsWith(const std::string & s, char suffix);
24 
25 bool startsWith(const std::string & s, const std::string & prefix);
26 bool startsWith(const std::string & s, char prefix);
27 
28 }
29 }
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25