licornea_tools
Classes | Namespaces | Functions
args.h File Reference
#include "common.h"
#include <string>
#include <vector>
#include <memory>

Go to the source code of this file.

Classes

class  tlz::args_list
 

Namespaces

 tlz
 

Functions

args_list & tlz::args ()
 
void tlz::get_args (int argc, const char *argv[], const std::string &usage)
 
bool tlz::batch_mode ()
 
std::string tlz::string_arg ()
 
std::string tlz::string_opt_arg (const std::string &def="")
 
std::string tlz::in_filename_arg ()
 
std::string tlz::in_filename_opt_arg (const std::string &def="")
 
std::string tlz::out_filename_arg ()
 
std::string tlz::out_filename_opt_arg (const std::string &def)
 
std::string tlz::out_dirname_arg ()
 
std::string tlz::out_dirname_opt_arg (const std::string &def)
 
long tlz::int_arg ()
 
long tlz::int_opt_arg (long def)
 
double tlz::real_arg ()
 
double tlz::real_opt_arg (double def)
 
std::string tlz::enum_arg (const std::vector< std::string > &options)
 
std::string tlz::enum_opt_arg (const std::vector< std::string > &options, const std::string &def)
 
bool tlz::bool_arg (const std::string &expected)
 
bool tlz::bool_opt_arg (const std::string &expected, bool def=false)
 
view_index tlz::view_index_arg ()