#include <vector>
#include <string>
#include <string.h>
#include <stdlib.h>
#include <boost/algorithm/string.hpp>
Go to the source code of this file.
Namespaces | |
namespace | terminal_tools |
Functions | |
int | terminal_tools::parse_2x_arguments (int argc, char **argv, const char *str, int &f, int &s, bool debug=true) |
Parse for specific given command line arguments (2x values comma separated). Returns the values sent as ints. | |
int | terminal_tools::parse_2x_arguments (int argc, char **argv, const char *str, double &f, double &s, bool debug=true) |
Parse for specific given command line arguments (2x values comma separated). Returns the values sent as doubles. | |
int | terminal_tools::parse_3x_arguments (int argc, char **argv, const char *str, int &f, int &s, int &t, bool debug=true) |
Parse for specific given command line arguments (3x values comma separated). Returns the values sent as ints. | |
int | terminal_tools::parse_3x_arguments (int argc, char **argv, const char *str, double &f, double &s, double &t, bool debug=true) |
Parse for specific given command line arguments (3x values comma separated). Returns the values sent as doubles. | |
int | terminal_tools::parse_argument (int argc, char **argv, const char *str, unsigned int &val) |
Parse for a specific given command line argument. Returns the value sent as an unsigned int. | |
int | terminal_tools::parse_argument (int argc, char **argv, const char *str, int &val) |
Parse for a specific given command line argument. Returns the value sent as an int. | |
int | terminal_tools::parse_argument (int argc, char **argv, const char *str, double &val) |
Parse for a specific given command line argument. Returns the value sent as a double. | |
int | terminal_tools::parse_argument (int argc, char **argv, const char *str, bool &val) |
Parse for a specific given command line argument. Returns the value sent as a boolean. | |
int | terminal_tools::parse_argument (int argc, char **argv, const char *str, std::string &val) |
Parse for a specific given command line argument. Returns the value sent as a string. | |
std::vector< int > | terminal_tools::parse_file_extension_argument (int argc, char **argv, const std::string &ext) |
Parse command line arguments for file names. Returns a vector with file names indices. | |
bool | terminal_tools::parse_multiple_2x_arguments (int argc, char **argv, const char *str, std::vector< double > &values_f, std::vector< double > &values_s) |
Parse for specific given command line arguments (multiple occurances of 2x argument groups, separated by commas). Returns 2 vectors holding the given values. | |
bool | terminal_tools::parse_multiple_3x_arguments (int argc, char **argv, const char *str, std::vector< double > &values_f, std::vector< double > &values_s, std::vector< double > &values_t) |
Parse for specific given command line arguments (multiple occurances of 3x argument groups, separated by commas). Returns 3 vectors holding the given values. | |
bool | terminal_tools::parse_multiple_arguments (int argc, char **argv, const char *str, std::vector< double > &values) |
Parse for specific given command line arguments (multiple occurances of the same command line parameter). Returns the values sent as a vector. | |
bool | terminal_tools::parse_multiple_arguments (int argc, char **argv, const char *str, std::vector< int > &values) |
Parse for specific given command line arguments (multiple occurances of the same command line parameter). Returns the values sent as a vector. |