HAL
hal::GateLibraryParser Class Referenceabstract

#include <gate_library_parser.h>

Inheritance diagram for hal::GateLibraryParser:
Inheritance graph
Collaboration diagram for hal::GateLibraryParser:
Collaboration graph

Public Member Functions

 GateLibraryParser ()=default
 
virtual ~GateLibraryParser ()=default
 
virtual Result< std::unique_ptr< GateLibrary > > parse (const std::filesystem::path &file_path)=0
 

Detailed Description

The gate library parser is the base class that needs to be inherited from all parsers that shall be registered with HAL.

Definition at line 42 of file gate_library_parser.h.

Constructor & Destructor Documentation

◆ GateLibraryParser()

hal::GateLibraryParser::GateLibraryParser ( )
default

◆ ~GateLibraryParser()

virtual hal::GateLibraryParser::~GateLibraryParser ( )
virtualdefault

Member Function Documentation

◆ parse()

virtual Result<std::unique_ptr<GateLibrary> > hal::GateLibraryParser::parse ( const std::filesystem::path &  file_path)
pure virtual

Parses the gate library definition file.

Parameters
[in]file_path- Path to the file containing the gate library definition.
Returns
The gate library on success, an error otherwise.

Implemented in hal::LibertyParser, and hal::HGLParser.


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