File indexing completed on 2025-01-18 09:54:44
0001
0002
0003
0004
0005
0006
0007 #pragma once
0008
0009
0010 #include <string>
0011 #include <tuple>
0012 #include <utility>
0013 #include <vector>
0014
0015
0016 #include "Macros.hpp"
0017
0018 namespace CLI {
0019
0020
0021 namespace detail {
0022
0023
0024 CLI11_INLINE bool split_short(const std::string ¤t, std::string &name, std::string &rest);
0025
0026
0027 CLI11_INLINE bool split_long(const std::string ¤t, std::string &name, std::string &value);
0028
0029
0030 CLI11_INLINE bool split_windows_style(const std::string ¤t, std::string &name, std::string &value);
0031
0032
0033 CLI11_INLINE std::vector<std::string> split_names(std::string current);
0034
0035
0036 CLI11_INLINE std::vector<std::pair<std::string, std::string>> get_default_flag_values(const std::string &str);
0037
0038
0039 CLI11_INLINE std::tuple<std::vector<std::string>, std::vector<std::string>, std::string>
0040 get_names(const std::vector<std::string> &input);
0041
0042 }
0043
0044 }
0045
0046 #ifndef CLI11_COMPILE
0047 #include "impl/Split_inl.hpp"
0048 #endif