C++ Utilities 5.26.1
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
Go to the source code of this file.
Namespaces | |
namespace | CppUtilities |
Contains all utilities provides by the c++utilities library. | |
Macros | |
#define | CPP_UTILITIES_PATHHELPER_STRING_VIEW |
Functions | |
CPP_UTILITIES_EXPORT std::string | CppUtilities::fileName (const std::string &path) |
Returns the file name and extension of the specified path string. | |
CPP_UTILITIES_EXPORT std::string | CppUtilities::directory (const std::string &path) |
Returns the directory of the specified path string (including trailing slash). | |
std::string_view | CppUtilities::fileName (std::string_view path) |
Returns the file name and extension of the specified path string. | |
std::string_view | CppUtilities::directory (std::string_view path) |
Returns the directory of the specified path string (including trailing slash). | |
CPP_UTILITIES_EXPORT void | CppUtilities::removeInvalidChars (std::string &fileName) |
Removes invalid characters from the specified fileName. | |