#include <hgl_parser.h>
Definition at line 43 of file hgl_parser.h.
◆ HGLParser()
hal::HGLParser::HGLParser |
( |
| ) |
|
|
default |
◆ ~HGLParser()
hal::HGLParser::~HGLParser |
( |
| ) |
|
|
default |
◆ parse()
Result< std::unique_ptr< GateLibrary > > hal::HGLParser::parse |
( |
const std::filesystem::path & |
file_path | ) |
|
|
overridevirtual |
Deserializes a gate library in HGL format from the string stream into a gate library object.
- Parameters
-
[in] | file_path | - Path to the file containing the gate library definition. |
- Returns
- The gate library or a nullptr on failure.
Implements hal::GateLibraryParser.
Definition at line 17 of file hgl_parser.cpp.
References ERR, ERR_APPEND, and OK.
The documentation for this class was generated from the following files:
- /home/runner/work/hal/hal/plugins/hgl_parser/include/hgl_parser/hgl_parser.h
- /home/runner/work/hal/hal/plugins/hgl_parser/src/hgl_parser.cpp