Warning, file /include/CLI/Split.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007 #pragma once
0008
0009
0010
0011
0012 #include <string>
0013 #include <tuple>
0014 #include <utility>
0015 #include <vector>
0016
0017
0018 #include "Macros.hpp"
0019
0020 namespace CLI {
0021
0022
0023 namespace detail {
0024
0025
0026 CLI11_INLINE bool split_short(const std::string ¤t, std::string &name, std::string &rest);
0027
0028
0029 CLI11_INLINE bool split_long(const std::string ¤t, std::string &name, std::string &value);
0030
0031
0032 CLI11_INLINE bool split_windows_style(const std::string ¤t, std::string &name, std::string &value);
0033
0034
0035 CLI11_INLINE std::vector<std::string> split_names(std::string current);
0036
0037
0038 CLI11_INLINE std::vector<std::pair<std::string, std::string>> get_default_flag_values(const std::string &str);
0039
0040
0041 CLI11_INLINE std::tuple<std::vector<std::string>, std::vector<std::string>, std::string>
0042 get_names(const std::vector<std::string> &input);
0043
0044 }
0045
0046 }
0047
0048 #ifndef CLI11_COMPILE
0049 #include "impl/Split_inl.hpp" // IWYU pragma: export
0050 #endif