HAL
hal::HGLWriter Class Reference

#include <hgl_writer.h>

Inheritance diagram for hal::HGLWriter:
Inheritance graph
Collaboration diagram for hal::HGLWriter:
Collaboration graph

Public Member Functions

 HGLWriter ()=default
 
 ~HGLWriter ()=default
 
bool write (const GateLibrary *gate_lib, const std::filesystem::path &file_path) override
 
- Public Member Functions inherited from hal::GateLibraryWriter
 GateLibraryWriter ()=default
 
virtual ~GateLibraryWriter ()=default
 

Detailed Description

Definition at line 47 of file hgl_writer.h.

Constructor & Destructor Documentation

◆ HGLWriter()

hal::HGLWriter::HGLWriter ( )
default

◆ ~HGLWriter()

hal::HGLWriter::~HGLWriter ( )
default

Member Function Documentation

◆ write()

bool hal::HGLWriter::write ( const GateLibrary gate_lib,
const std::filesystem::path &  file_path 
)
overridevirtual

Write the gate library to a HGL file at the provided location.

Parameters
[in]gate_lib- The gate library.
[in]file_path- The output path.
Returns
True on success, false otherwise.

Implements hal::GateLibraryWriter.

Definition at line 20 of file hgl_writer.cpp.

References log_error.

Referenced by hal::TEST_F().


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