HAL
hal::GateLibraryWriter Class Referenceabstract

#include <gate_library_writer.h>

Inheritance diagram for hal::GateLibraryWriter:
Inheritance graph
Collaboration diagram for hal::GateLibraryWriter:
Collaboration graph

Public Member Functions

 GateLibraryWriter ()=default
 
virtual ~GateLibraryWriter ()=default
 
virtual bool write (const GateLibrary *gate_lib, const std::filesystem::path &file_path)=0
 

Detailed Description

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

Definition at line 42 of file gate_library_writer.h.

Constructor & Destructor Documentation

◆ GateLibraryWriter()

hal::GateLibraryWriter::GateLibraryWriter ( )
default

◆ ~GateLibraryWriter()

virtual hal::GateLibraryWriter::~GateLibraryWriter ( )
virtualdefault

Member Function Documentation

◆ write()

virtual bool hal::GateLibraryWriter::write ( const GateLibrary gate_lib,
const std::filesystem::path &  file_path 
)
pure virtual

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

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

Implemented in hal::HGLWriter.


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