HAL  v4.5.0-124-g47ab54673
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
hal::ProjectJson Class Reference

#include </home/runner/work/hal/hal/plugins/gui/include/gui/file_manager/project_json.h>

Collaboration diagram for hal::ProjectJson:
Collaboration graph

Public Types

enum  Status {
  Ok = 0 , NotExisting = -1 , CannotOpen = -2 , ParseError = -3 ,
  NetlistError = -4 , GatelibError = -5
}
 

Public Member Functions

 ProjectJson (const QString &filename)
 
Status status () const
 
QString netlistFilename () const
 
QString gateLibraryFilename () const
 
void setGateLibraryFilename (const QString &gl)
 

Detailed Description

Reads the project file of a HAL project and provides the netlist and gate library paths that it references.

Definition at line 36 of file project_json.h.

Member Enumeration Documentation

◆ Status

Enumerator
Ok 
NotExisting 
CannotOpen 
ParseError 
NetlistError 
GatelibError 

Definition at line 38 of file project_json.h.

Constructor & Destructor Documentation

◆ ProjectJson()

Member Function Documentation

◆ gateLibraryFilename()

QString hal::ProjectJson::gateLibraryFilename ( ) const
inline

◆ netlistFilename()

QString hal::ProjectJson::netlistFilename ( ) const
inline

Definition at line 50 of file project_json.h.

◆ setGateLibraryFilename()

◆ status()

Status hal::ProjectJson::status ( ) const
inline

Definition at line 49 of file project_json.h.

Referenced by hal::ExportProjectDialog::exportProject().


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