CLI11 2.2.0
Loading...
Searching...
No Matches
Split.hpp File Reference
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "Error.hpp"
#include "StringTools.hpp"
Include dependency graph for Split.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CLI
 
namespace  CLI::detail
 

Functions

bool CLI::detail::split_short (const std::string &current, std::string &name, std::string &rest)
 
bool CLI::detail::split_long (const std::string &current, std::string &name, std::string &value)
 
bool CLI::detail::split_windows_style (const std::string &current, std::string &name, std::string &value)
 
std::vector< std::string > CLI::detail::split_names (std::string current)
 
std::vector< std::pair< std::string, std::string > > CLI::detail::get_default_flag_values (const std::string &str)
 extract default flag values either {def} or starting with a !
 
std::tuple< std::vector< std::string >, std::vector< std::string >, std::string > CLI::detail::get_names (const std::vector< std::string > &input)
 Get a vector of short names, one of long names, and a single name.