str#

Fully qualified name: omni::str

namespace str#

Namespace for various string helper classes, interfaces, and functions.

Namespace for various string helper functions.

Classes#

IReadOnlyCString_abi

Reference counted read-only C-style (i.e. null-terminated) string.

ReadOnlyCString

Concrete implementation of the IReadOnlyCString interface.

Functions#

bool isWildcardPattern(carb::cpp::unbounded_string pattern)

Tests whether a string is potentially a wildcard pattern.

bool isWildcardPattern(carb::cpp::string_view pattern)

Tests whether a string is potentially a wildcard pattern.

bool matchWildcard(carb::cpp::string_view str, carb::cpp::string_view pattern) noexcept

Checks if a string matches a wildcard pattern (string_view version).

bool matchWildcard(carb::cpp::unbounded_string str, carb::cpp::unbounded_string pattern)

Checks if a string matches a wildcard pattern.

const char * matchWildcards(const char *str, const char *const *patterns, size_t patternsCount)

Attempts to match a string to a set of wildcard patterns.

carb::cpp::optional< carb::cpp::string_view > matchWildcards(carb::cpp::string_view str, carb::cpp::span< const carb::cpp::string_view > patterns)

Matches a string against multiple wildcard patterns.

Typedefs#

IReadOnlyCString

Typedef for API wrapper of IReadOnlyCString_abi .