xtd 0.2.0
Loading...
Searching...
No Matches
search_option.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../enum.hpp"
6
8namespace xtd {
10 namespace io {
25 enum class search_option {
30 };
31 }
32}
33
35template<> struct xtd::enum_register<xtd::io::search_option> {
36 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::io::search_option> {{xtd::io::search_option::top_directory_only, "top_directory_only"}, {xtd::io::search_option::all_directories, "all_directories"}};}
37};
std::vector< xtd::collections::generic::key_value_pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:22
search_option
Specifies whether to search the current directory, or the current directory and all subdirectories.
Definition search_option.hpp:25
@ all_directories
Includes the current directory and all its subdirectories in a search operation. This option includes...
@ top_directory_only
Includes only the current directory in a search operation.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38