HighMap library (C++)
Loading...
Searching...
No Matches
string_utils.hpp
Go to the documentation of this file.
1
7#pragma once
8#include <filesystem>
9#include <string>
10
11namespace hmap
12{
13
34std::filesystem::path add_filename_suffix(
35 const std::filesystem::path &file_path,
36 const std::string &suffix);
37
49std::filesystem::path make_unique_temp_dir(const std::string &prefix);
50
68std::string zfill(const std::string &str, int n_zero);
69
70} // namespace hmap
Definition algebra.hpp:23
std::filesystem::path make_unique_temp_dir(const std::string &prefix)
Create a unique temporary directory.
Definition string_utils.cpp:24
std::string zfill(const std::string &str, int n_zero)
Definition string_utils.cpp:41
std::filesystem::path add_filename_suffix(const std::filesystem::path &file_path, const std::string &suffix)
Definition string_utils.cpp:11