AFLOW
 
Loading...
Searching...
No Matches
aurostd_argv.cpp File Reference
#include "aurostd_argv.h"
#include <cstddef>
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include "aurostd.h"
#include "aurostd_automatic_template.h"
#include "aurostd_defs.h"
#include "aurostd_xerror.h"
#include "aurostd_xscalar.h"
#include "aurostd_xvector.h"

Go to the source code of this file.

Namespaces

namespace  aurostd
 

Macros

#define _AUROSTD_ARGV_CPP_
 
#define VERBOSE_ARGV   false
 
#define AST_TEMPLATE(atype)
 
#define AST_TEMPLATE(atype)
 
#define AST_TEMPLATE(atype)
 
#define AST_TEMPLATE(atype)
 

Functions

string aurostd::attach (const string &s1)
 
string aurostd::attach (const string &s1, const string &s2)
 
string aurostd::attach (const string &s1, const string &s2, const string &s3)
 
string aurostd::attach (const string &s1, const string &s2, const string &s3, const string &s4)
 
string aurostd::attach (const string &s1, const string &s2, const string &s3, const string &s4, const string &s5)
 
vector< string > aurostd::get_arguments_from_input (int _argc, char **_argv)
 
bool aurostd::args2flag (const vector< string > &argv, const string &s0)
 
bool aurostd::args2flag (const vector< string > &argv, std::vector< string > &cmds, const string &s0)
 
template<class utype>
utype aurostd::args2utype (const vector< string > &argv, const string &s0, utype def_out)
 
template<class utype>
xvector< utype > aurostd::args2xvectorutype (const vector< string > &argv, const string &s0, const xvector< utype > &def_out)
 
template<class utype>
xvector< utype > aurostd::args2xvectorutype (const vector< string > &argv, const string &s0, int dim)
 
template<class utype>
vector< utype > aurostd::args2vectorutype (const vector< string > &argv, const string &s0)
 
template<class utype>
deque< utype > aurostd::args2dequeutype (const deque< string > &argv, const string &s0)
 
string aurostd::args2string (const vector< string > &argv, const string &s0, const string &s_def)
 
string aurostd::args2string (const vector< string > &argv, vector< string > &cmds, const string &s0, const string &s_def)
 
vector< string > aurostd::string2vstring (const string &str_in)
 
vector< string > aurostd::args2vectorstring (const vector< string > &argv, const string &s0, const string &s_def)
 
bool aurostd::get_itemized_vector_string_from_input (const vector< string > &argv, const string &s0, vector< string > &tokens, const string &delimiter)
 
bool aurostd::get_itemized_vector_string_from_input (const vector< string > &argv, const string &s0, const string &s1, vector< string > &tokens, const string &delimiter)
 
bool aurostd::get_itemized_vector_string_from_input (const vector< string > &argv, const string &s0, const string &s1, const string &s2, vector< string > &tokens, const string &delimiter)
 
bool aurostd::get_itemized_vector_string_from_input (const vector< string > &argv, const string &s0, const string &s1, const string &s2, const string &s3, vector< string > &tokens, const string &delimiter)
 
bool aurostd::args2attachedflag (const vector< string > &argv, const string &s0)
 
bool aurostd::args2attachedflag (const vector< string > &argv, std::vector< string > &cmds, const string &s0)
 
string aurostd::args2attachedstring (const vector< string > &argv, const string &s0, string s_def)
 
template<typename string>
string aurostd::args2attachedutype (const vector< string > &argv, const string &s0, const string &s_def)
 
template<typename utype>
utype aurostd::args2attachedutype (const vector< string > &argv, const string &str1, const utype &utype_default)
 

Macro Definition Documentation

◆ _AUROSTD_ARGV_CPP_

#define _AUROSTD_ARGV_CPP_

Definition at line 9 of file aurostd_argv.cpp.

◆ VERBOSE_ARGV

#define VERBOSE_ARGV   false

Definition at line 31 of file aurostd_argv.cpp.

◆ AST_TEMPLATE [1/4]

#define AST_TEMPLATE ( atype)
Value:
template atype args2utype(const vector<string>&, const string&, atype);

Definition at line 201 of file aurostd_argv.cpp.

◆ AST_TEMPLATE [2/4]

#define AST_TEMPLATE ( atype)
Value:
template xvector<atype> args2xvectorutype(const vector<string>&, const string&, const xvector<atype>&);

Definition at line 201 of file aurostd_argv.cpp.

◆ AST_TEMPLATE [3/4]

#define AST_TEMPLATE ( atype)
Value:
template xvector<atype> args2xvectorutype(const vector<string>&, const string&, int);

Definition at line 201 of file aurostd_argv.cpp.

◆ AST_TEMPLATE [4/4]

#define AST_TEMPLATE ( atype)
Value:
template atype args2attachedutype(const vector<string>&, const string&, const atype&);

Definition at line 201 of file aurostd_argv.cpp.