GEOS 3.14.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
19namespace geos {
20namespace util {
21
22bool endsWith(const std::string & s, const std::string & suffix);
23bool endsWith(const std::string & s, char suffix);
24
25bool startsWith(const std::string & s, const std::string & prefix);
26bool startsWith(const std::string & s, char prefix);
27
28void toUpper(std::string& s);
29
30}
31}
Basic namespace for all GEOS functionalities.
Definition geos.h:39