xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
search_option.h
Go to the documentation of this file.
1 #pragma once
5 #include "../ustring.h"
6 
8 namespace xtd {
10  namespace io {
21  enum class search_option {
25  all_directories = 1,
26  };
27 
29  inline std::ostream& operator<<(std::ostream& os, search_option value) {return os << to_string(value, {{search_option::top_directory_only, "top_directory_only"}, {search_option::all_directories, "all_directories"}});}
30  inline std::wostream& operator<<(std::wostream& os, search_option value) {return os << to_string(value, {{search_option::top_directory_only, L"top_directory_only"}, {search_option::all_directories, L"all_directories"}});}
32  }
33 }
search_option
Specifies whether to search the current directory, or the current directory and all subdirectories...
Definition: search_option.h:21
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1110
Includes the current directory and all its subdirectories in a search operation. This option includes...
Includes only the current directory in a search operation.