|
Arkanjo 0.2
A tool for find code duplicated functions in codebases
|
Lists all available preprocessor containers. More...
#include <preprocessor_list.hpp>
Inheritance diagram for PreprocessorList:
Collaboration diagram for PreprocessorList:Public Member Functions | |
| PreprocessorList () | |
| bool | validate (const ParsedOptions &options) override |
| Validate the arguments already analyzed. | |
| bool | run (const ParsedOptions &options) override |
| Executes the main logic of the command. | |
Public Member Functions inherited from CommandBase< PreprocessorList > | |
| virtual void | print_help (const std::string command_name, const OptionsCollector *collector) const |
| const CliOption * | options () const final |
| bool | do_run (const std::string command_name, const ParsedOptions &options, const OptionsCollector *collector=nullptr) override |
Public Member Functions inherited from ICommand | |
| virtual | ~ICommand ()=default |
| virtual std::string_view | description () const =0 |
Lists all available preprocessor containers.
Handles user interaction for displaying containers, including optional formatting without color. Provides validation and execution logic for the command.
Definition at line 34 of file preprocessor_list.hpp.
| PreprocessorList::PreprocessorList | ( | ) |
Definition at line 21 of file preprocessor_list.cpp.
|
overridevirtual |
Executes the main logic of the command.
You must use the validated arguments to perform the action desired by the command.
| options | The ParsedOptions structure will be populated with the arguments. |
Implements ICommand.
Definition at line 28 of file preprocessor_list.cpp.
|
overridevirtual |
Validate the arguments already analyzed.
Verify that all required options have been selected and that the values provided are valid.
| options | The ParsedOptions structure will be populated with the arguments. |
Implements ICommand.
Definition at line 23 of file preprocessor_list.cpp.