P4C
The P4 Compiler
Loading...
Searching...
No Matches
smith.h
1
#ifndef BACKENDS_P4TOOLS_MODULES_SMITH_SMITH_H_
2
#define BACKENDS_P4TOOLS_MODULES_SMITH_SMITH_H_
3
4
#include <vector>
5
6
#include "backends/p4tools/common/compiler/compiler_result.h"
7
#include "backends/p4tools/common/p4ctool.h"
8
#include "backends/p4tools/modules/smith/options.h"
9
10
namespace
P4::P4Tools::P4Smith {
11
12
class
Smith
:
public
AbstractP4cTool
<SmithOptions> {
13
protected
:
14
void
registerTarget()
override
;
15
16
int
mainImpl
(
const
CompilerResult
&compilerResult)
override
;
17
18
public
:
19
virtual
~Smith
() =
default
;
20
int
main(
const
std::vector<const char *> &args);
21
};
22
23
}
// namespace P4::P4Tools::P4Smith
24
25
#endif
/* BACKENDS_P4TOOLS_MODULES_SMITH_SMITH_H_ */
P4::P4Tools::AbstractP4cTool
Definition
p4ctool.h:22
P4::P4Tools::CompilerResult
Definition
common/compiler/compiler_result.h:14
P4::P4Tools::P4Smith::Smith
Definition
smith.h:12
P4::P4Tools::P4Smith::Smith::mainImpl
int mainImpl(const CompilerResult &compilerResult) override
Definition
smith.cpp:57
backends
p4tools
modules
smith
smith.h
Generated by
1.12.0