![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include <string>#include <list>
Include dependency graph for get_argument_list.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| std::list< std::string > | phoenix_getArgumentList (int argc, char **argv) |
| Convert the list of given arguments to the program into a list of string. More... | |
| std::string | phoenix_getProgramCall (const std::list< std::string > &listArg) |
| Get the program call. More... | |
| bool | phoenix_isOptionExist (const std::list< std::string > &listArg, const std::list< std::string > &argCheckList) |
| Check if one of the two passed arguments are in the list of arguments. More... | |
| bool | phoenix_isOptionExist (const std::list< std::string > &listArg, const std::string &arg1) |
| Check if one of the two passed arguments are in the list of arguments. More... | |
| bool | phoenix_isOptionExist (const std::list< std::string > &listArg, const std::string &arg1, const std::string &arg2) |
| Check if one of the two passed arguments are in the list of arguments. More... | |
| std::string | phoenix_listArgToString (const std::list< std::string > &listArg) |
| Convert the given list of arguement into a string. More... | |
| void | phoenix_rmProgramCall (std::list< std::string > &listArg) |
| Remove the program call from the list of argument. More... | |
| std::list<std::string> phoenix_getArgumentList | ( | int | argc, |
| char ** | argv | ||
| ) |
Convert the list of given arguments to the program into a list of string.
| argc | : number of arguments passed to the program |
| argv | : table of arguments passed to the program |
Definition at line 16 of file get_argument_list.cpp.
Referenced by main().
Here is the caller graph for this function:| std::string phoenix_getProgramCall | ( | const std::list< std::string > & | listArg | ) |
Get the program call.
| listArg | : list of argument passed to the program |
Definition at line 83 of file get_argument_list.cpp.
Referenced by main().
Here is the caller graph for this function:| bool phoenix_isOptionExist | ( | const std::list< std::string > & | listArg, |
| const std::list< std::string > & | argCheckList | ||
| ) |
Check if one of the two passed arguments are in the list of arguments.
| listArg | : list of arguments given to the program |
| argCheckList | : list of argument to be searched |
Definition at line 29 of file get_argument_list.cpp.
Referenced by main(), and phoenix_isOptionExist().
Here is the caller graph for this function:| bool phoenix_isOptionExist | ( | const std::list< std::string > & | listArg, |
| const std::string & | arg1 | ||
| ) |
Check if one of the two passed arguments are in the list of arguments.
| listArg | : list of arguments given to the program |
| arg1 | : argument to be searched |
Definition at line 48 of file get_argument_list.cpp.
References phoenix_isOptionExist().
Here is the call graph for this function:| bool phoenix_isOptionExist | ( | const std::list< std::string > & | listArg, |
| const std::string & | arg1, | ||
| const std::string & | arg2 | ||
| ) |
Check if one of the two passed arguments are in the list of arguments.
| listArg | : list of arguments given to the program |
| arg1 | : argument to be searched |
| arg2 | : argument to be searched |
Definition at line 60 of file get_argument_list.cpp.
References phoenix_isOptionExist().
Here is the call graph for this function:| std::string phoenix_listArgToString | ( | const std::list< std::string > & | listArg | ) |
Convert the given list of arguement into a string.
| listArg | : list of argument to be converted into a string |
Definition at line 71 of file get_argument_list.cpp.
References phoenix_escapeStr().
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:| void phoenix_rmProgramCall | ( | std::list< std::string > & | listArg | ) |
Remove the program call from the list of argument.
| [out] | listArg | : list or argument to be modified |
Definition at line 91 of file get_argument_list.cpp.
Referenced by main().
Here is the caller graph for this function: