HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Functions
glob.hpp File Reference

Defines utilities for handling glob patterns. More...

#include "path_location.hpp"
#include "../char_maps/module.hpp"
#include "../utility/module.hpp"
#include <vector>
#include <string>
#include <string_view>
#include <filesystem>
#include <variant>
#include <type_traits>

Go to the source code of this file.

Data Structures

class  hi::v1::glob_pattern
 A glob pattern. More...
 
class  hi::v1::glob_pattern::token_type::any_character_type
 
class  hi::v1::glob_pattern::token_type::any_text_type
 
class  hi::v1::glob_pattern::token_type::any_directory_type
 

Namespaces

namespace  hi
 geometry/margins.hpp
 
namespace  hi::v1
 The HikoGUI API version 1.
 

Macros

#define HI_GLOB_APPEND_TEXT()
 

Functions

generator< std::filesystem::path > hi::v1::glob (glob_pattern pattern)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (std::string_view pattern)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (std::string pattern)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (char const *pattern)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (std::filesystem::path pattern)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (path_location location, std::filesystem::path ref)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (path_location location, std::string_view ref)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (path_location location, std::string ref)
 Find paths on the filesystem that match the glob pattern.
 
generator< std::filesystem::path > hi::v1::glob (path_location location, char const *ref)
 Find paths on the filesystem that match the glob pattern.
 

Detailed Description

Defines utilities for handling glob patterns.

Macro Definition Documentation

◆ HI_GLOB_APPEND_TEXT

#define HI_GLOB_APPEND_TEXT ( )
Value:
do { \
if (not text.empty()) { \
r.emplace_back(make_text(std::move(text))); \
text.clear(); \
} \
} while (false)
T move(T... args)