![]() |
PhoenixMock
1.8.7
Tools to split/merge/print mock used in Phoenix
|
#include "phoenix_assert.h"#include "phoenix_check.h"#include "print_string.h"#include "Option.h"
Include dependency graph for main.cpp:Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| void | printValueOfOpt (Option &opt) |
| Print value of Option. More... | |
| void | printValueOfOptConst (const Option &opt) |
| Print value of Option. More... | |
| void | testOption () |
| Test the option type. More... | |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 58 of file main.cpp.
References testOption().
Here is the call graph for this function:| void printValueOfOpt | ( | Option & | opt | ) |
Print value of Option.
| opt | : Option to be printed |
Definition at line 29 of file main.cpp.
References Option::getDocString(), Option::getLongName(), Option::getShortName(), OptionValue::getValue(), Option::getValue(), Option::isAllowEmpty(), Option::isRequired(), and phoenix_print().
Referenced by testOption(), and testOptionValue().
Here is the call graph for this function:
Here is the caller graph for this function:| void printValueOfOptConst | ( | const Option & | opt | ) |
Print value of Option.
| opt | : Option to be printed |
Definition at line 17 of file main.cpp.
References Option::getDocString(), Option::getLongName(), Option::getShortName(), OptionValue::getValue(), Option::getValue(), Option::isAllowEmpty(), Option::isRequired(), and phoenix_print().
Referenced by testOption().
Here is the call graph for this function:
Here is the caller graph for this function:| void testOption | ( | ) |
Test the option type.
Definition at line 39 of file main.cpp.
References printValueOfOpt(), printValueOfOptConst(), Option::setDocString(), Option::setIsAllowEmpty(), Option::setIsParsed(), Option::setIsRequired(), Option::setLongName(), Option::setShortName(), Option::setValue(), and OptionType::STRING.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: