P4C
The P4 Compiler
|
Public APIs to generate P4Info message. Uses the singleton pattern. More...
#include <p4RuntimeSerializer.h>
Public Member Functions | |
P4RuntimeAPI | generateP4Runtime (const IR::P4Program *program, cstring arch) |
void | registerArch (const cstring archName, const ControlPlaneAPI::P4RuntimeArchHandlerBuilderIface *builder) |
void | serializeP4RuntimeIfRequired (const IR::P4Program *program, const CompilerOptions &options) |
void | serializeP4RuntimeIfRequired (const P4RuntimeAPI &p4Runtime, const CompilerOptions &options) |
Static Public Member Functions | |
static P4RuntimeSerializer * | get () |
static cstring | resolveArch (const CompilerOptions &options) |
Public APIs to generate P4Info message. Uses the singleton pattern.