HighMap library (C++)
Loading...
Searching...
No Matches
string_utils.hpp
Go to the documentation of this file.
1/* Copyright (c) 2025 Otto Link. Distributed under the terms of the GNU General
2 Public License. The full license is in the file LICENSE, distributed with
3 this software. */
4
12#pragma once
13#include <filesystem>
14#include <string>
15
16namespace hmap
17{
18
39std::filesystem::path add_filename_suffix(
40 const std::filesystem::path &file_path,
41 const std::string &suffix);
42
60std::string zfill(const std::string &str, int n_zero);
61
62} // namespace hmap
Definition algebra.hpp:28
std::string zfill(const std::string &str, int n_zero)
Definition string_utils.cpp:23
std::filesystem::path add_filename_suffix(const std::filesystem::path &file_path, const std::string &suffix)
Definition string_utils.cpp:10