HAL  v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::CliExtensionPythonShell Class Reference

#include </home/runner/work/hal/hal/plugins/python_shell/include/python_shell/plugin_python_shell.h>

Inheritance diagram for hal::CliExtensionPythonShell:
Inheritance graph
Collaboration diagram for hal::CliExtensionPythonShell:
Collaboration graph

Public Member Functions

 CliExtensionPythonShell ()=default
 
 ~CliExtensionPythonShell ()=default
 
ProgramOptions get_cli_options () const override
 
virtual bool handle_cli_call (Netlist *, ProgramArguments &) override
 
- Public Member Functions inherited from hal::CliExtensionInterface
 CliExtensionInterface ()
 
- Public Member Functions inherited from hal::AbstractExtensionInterface
 AbstractExtensionInterface ()
 
virtual ~AbstractExtensionInterface ()
 

Detailed Description

The command line interface of the Python shell plugin.

Definition at line 36 of file plugin_python_shell.h.

Constructor & Destructor Documentation

◆ CliExtensionPythonShell()

hal::CliExtensionPythonShell::CliExtensionPythonShell ( )
default

◆ ~CliExtensionPythonShell()

hal::CliExtensionPythonShell::~CliExtensionPythonShell ( )
default

Member Function Documentation

◆ get_cli_options()

ProgramOptions hal::CliExtensionPythonShell::get_cli_options ( ) const
overridevirtual

Returns command line interface options

Returns
The program options description.

Implements hal::CliExtensionInterface.

Definition at line 18 of file plugin_python_shell.cpp.

References hal::ProgramOptions::A_REQUIRED_PARAMETER, and hal::ProgramOptions::add().

◆ handle_cli_call()

virtual bool hal::CliExtensionPythonShell::handle_cli_call ( Netlist netlist,
ProgramArguments args 
)
inlineoverridevirtual

Entry point to handle command line interface call

Parameters
[in]netlist- The netlist.
[in]args- Program options.
Returns
true on success, false otherwise.

Implements hal::CliExtensionInterface.

Definition at line 49 of file plugin_python_shell.h.


The documentation for this class was generated from the following files: