#include <iostream>
#include "get_argument_list.h"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 12 of file main.cpp.
14 std::cout <<
"Get " << listArg.size() <<
" arguments" << std::endl;
21 std::cout <<
"String of all arguments without program call '"<<
phoenix_listArgToString(listArg)<<
"'" << std::endl;
void phoenix_rmProgramCall(std::list< PString > &listArg)
Remove the program call from the list of argument.
bool phoenix_isOptionExist(const std::list< PString > &listArg, const std::list< PString > &argCheckList)
Check if one of the two passed arguments are in the list of arguments.
PString phoenix_getProgramCall(const std::list< PString > &listArg)
Get the program call.
std::list< PString > phoenix_getArgumentList(int argc, char **argv)
Convert the list of given arguments to the program into a list of string.
PString phoenix_listArgToString(const std::list< PString > &listArg)
Convert the given list of arguement into a string.
References phoenix_getArgumentList(), phoenix_getProgramCall(), phoenix_isOptionExist(), phoenix_listArgToString(), and phoenix_rmProgramCall().