Go to the documentation of this file.
9 #ifndef EAGINE_VALUE_TREE_FILESYSTEM_HPP
10 #define EAGINE_VALUE_TREE_FILESYSTEM_HPP
12 #include "../config/basic.hpp"
13 #include "../interface.hpp"
14 #include "../main_ctx_fwd.hpp"
20 struct file_compound_factory : interface<file_compound_factory> {
21 virtual auto make_compound(
string_view path, logger&) -> compound = 0;
29 std::shared_ptr<file_compound_factory> = {}) -> compound;
33 #if !EAGINE_LINK_LIBRARY || defined(EAGINE_IMPLEMENTING_LIBRARY)
34 #include <eagine/value_tree/filesystem.inl>
37 #endif // EAGINE_VALUE_TREE_FILESYSTEM_HPP
const main_ctx_object_parent_info & main_ctx_parent
Alias for main_ctx_object_parent_info parameter type.
Definition: main_ctx_fwd.hpp:24
basic_string_span< const char > string_view
Alias for const string views.
Definition: string_span.hpp:116
auto from_filesystem_path(string_view root_path, main_ctx_parent, std::shared_ptr< file_compound_factory >={}) -> compound
Creates a compound representing a filesystem subtree.
Value-tree code is placed in this namespace.
Definition: eagine.hpp:53