14#ifndef IOX2_BB_FILE_PATH_HPP
15#define IOX2_BB_FILE_PATH_HPP
42 platform::IOX2_MAX_PATH_LENGTH,
43 detail::file_path_does_contain_invalid_content,
44 detail::file_path_does_contain_invalid_characters> {
57 for (
const char c : value.unchecked_access()) {
64 const bool is_path_separator { [&]() ->
bool {
74 if ((!is_small_letter && !is_capital_letter) && (!is_number && !is_special_character) && !is_path_separator) {
Represents a path to a file. It is not allowed to end with a path separator since this would then be ...
The SemanticString is a string which has an inner syntax and restrictions to valid content....
constexpr char ASCII_CAPITAL_Z
constexpr char ASCII_CAPITAL_A
constexpr char ASCII_UNDERSCORE
constexpr char ASCII_COLON
auto is_valid_path_to_file(const bb::StaticString< StringCapacity > &name) noexcept -> bool
verifies if the given string is a valid path to a file
constexpr char ASCII_DASH
auto file_path_does_contain_invalid_content(const bb::StaticString< platform::IOX2_MAX_PATH_LENGTH > &value) noexcept -> bool
auto file_path_does_contain_invalid_characters(const bb::StaticString< platform::IOX2_MAX_PATH_LENGTH > &value) noexcept -> bool