16 #ifndef WPIUTIL_WPI_PATH_H_ 17 #define WPIUTIL_WPI_PATH_H_ 19 #include "wpi/Twine.h" 20 #include "wpi/iterator.h" 28 enum class Style { windows, posix, native };
65 reference operator*()
const {
return Component; }
90 reference operator*()
const {
return Component; }
147 Style style = Style::native);
164 Style style = Style::native);
179 const Twine &d =
"");
209 Style style = Style::native);
224 std::string convert_to_slash(
StringRef path, Style style = Style::native);
339 bool is_separator(
char value, Style style = Style::native);
344 StringRef get_separator(Style style = Style::native);
377 const Twine &Path2 =
"",
const Twine &Path3 =
"");
385 bool has_root_name(
const Twine &path, Style style = Style::native);
393 bool has_root_directory(
const Twine &path, Style style = Style::native);
401 bool has_root_path(
const Twine &path, Style style = Style::native);
409 bool has_relative_path(
const Twine &path, Style style = Style::native);
417 bool has_parent_path(
const Twine &path, Style style = Style::native);
425 bool has_filename(
const Twine &path, Style style = Style::native);
433 bool has_stem(
const Twine &path, Style style = Style::native);
441 bool has_extension(
const Twine &path, Style style = Style::native);
447 bool is_absolute(
const Twine &path, Style style = Style::native);
453 bool is_relative(
const Twine &path, Style style = Style::native);
468 Style style = Style::native);
Reverse path iterator.
Definition: Path.h:78
namespace to hold default to_json function
Definition: json_binary_writer.cpp:39
Path iterator.
Definition: Path.h:52
CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of ...
Definition: iterator.h:68
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:49
bool operator==(json::const_reference lhs, json::const_reference rhs) noexcept
Definition: json.cpp:921
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
Definition: Twine.h:79