Settings for write_realization function. More...
Public Member Functions | |
write_realization_settings () | |
Default constructor. | |
Public Attributes | |
std::string | version |
A version string. | |
std::string | header |
A header for the file. |
Settings for write_realization function.
Default constructor.
Initializes default values
std::string header |
A header for the file.
This header will be printed as a comment in the first lines of the file. The string can be multi-line seperated by \n escape sequences. The comment character # can be omitted and will be inserted automatically.
The following code creates a header in beginning of the file with author information.
circuit circ; write_realization_settings settings; settings.header = "Author: Test User\n(c) University"; write_realization( circ, "circuit.real", settings );
std::string version |
A version string.
Default value is 1.0 and printed after .version command