ArKanjo 0.5.1
A tool for find code duplicated functions in codebases
version.hpp
Go to the documentation of this file.
1
8#pragma once
9
12
13class Version : public CommandBase<Version> {
14public:
15 explicit Version(Similarity_Table* _similarity_table);
16
18
19 static constexpr CliOption options_[] = {
21 };
22
23 bool validate(const ParsedOptions& options) override;
24
25 bool run(const ParsedOptions& options) override;
26};
const CliOption * options() const final
Represents a similarity graph between functions (paths).
bool validate(const ParsedOptions &options) override
Validate the arguments already analyzed.
Definition: version.cpp:9
COMMAND_DESCRIPTION("Version.")
static constexpr CliOption options_[]
Definition: version.hpp:19
Version(Similarity_Table *_similarity_table)
Definition: version.cpp:7
bool run(const ParsedOptions &options) override
Executes the main logic of the command.
Definition: version.cpp:13
#define OPTION_END
This marks the end of a long array of options.
Similarity relationships storage and analysis.