LogIt++
|
Functions for working with arguments and converting them to value arrays. More...
Go to the source code of this file.
Namespaces | |
namespace | logit |
The primary namespace for the LogIt++ library. | |
Macros | |
#define | _LOGIT_ARGUMENT_UTILS_HPP_INCLUDED |
Typedefs | |
using | logit::crev_it_t = std::string::const_reverse_iterator |
Functions | |
std::vector< VariableValue > | logit::args_to_array (std::vector< std::string >::const_iterator name_iter) |
Base case of recursion for argument conversion — when there are no more arguments. | |
template<typename T , typename... Ts> | |
std::vector< VariableValue > | logit::args_to_array (std::vector< std::string >::const_iterator name_iter, const T &first_arg, const Ts &... args) |
Recursive function to convert arguments into an array of tuples (name, value). | |
bool | logit::is_closing_template (crev_it_t left_it, crev_it_t right_it) |
Checks if the '>' character is the closing of a template argument list. | |
std::vector< std::string > | logit::split_arguments (const std::string &all_names) |
Splits a string of argument names into individual names, ignoring nested templates, parentheses, and quotes. | |
Functions for working with arguments and converting them to value arrays.
Definition in file argument_utils.hpp.
#define _LOGIT_ARGUMENT_UTILS_HPP_INCLUDED |
Definition at line 3 of file argument_utils.hpp.