19#ifndef SRECORD_OUTPUT_FILE_LOGISIM_H
20#define SRECORD_OUTPUT_FILE_LOGISIM_H
30class output_file_logisim:
72 output_file_logisim(
const std::string &file_name);
78 void emit(
int count,
int value);
84 output_file_logisim();
90 output_file_logisim(
const output_file_logisim &rhs);
96 output_file_logisim &operator=(
const output_file_logisim &rhs);
void address_length_set(int)
The address_length_set method is used to set the minimum number of bytes to be written for addresses ...
void line_length_set(int)
The set_line_length method is used to set the maximum length of an output line, for those formats for...
virtual ~output_file_logisim()
The destructor.
static pointer create(const std::string &file_name)
The create class method is used to create new dynamically allocated instances of this class.
int preferred_block_size_get(void) const
The preferred_block_size_get method is used to get the proferred block size of the output fformat.
void write(const record &)
The write method is used to write a recordonto an output.
bool preferred_block_size_set(int nbytes)
The preferred_block_size_set method is is to set a precific number of bytes for the preferred block s...
const char * format_name(void) const
The format_name method is used to obtain the name of this output format.
output_file()
The default constructor.
std::shared_ptr< output > pointer
The srecord::record class is used to represent a data record read from a file.