20#ifndef SRECORD_OUTPUT_FILE_WILSON_H
21#define SRECORD_OUTPUT_FILE_WILSON_H
38class output_file_wilson:
56 output_file_wilson(
const std::string &file_name);
113 void write_inner(
int tag,
unsigned long address,
const void *data,
119 output_file_wilson();
124 output_file_wilson(
const output_file_wilson &);
129 output_file_wilson &operator=(
const output_file_wilson &);
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...
void put_byte(unsigned char)
The put_byte method is used to send a byte value to the output.
virtual ~output_file_wilson()
The destructor.
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...
void write(const record &)
The write method is used to write a recordonto an output.
const char * format_name() const
The format_name method is used to obtain the name of this output format.
void address_length_set(int)
The address_length_set method is used to set the minimum number of bytes to be written for addresses ...
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() const
The preferred_block_size_get method is used to get the proferred block size of the output fformat.
bool is_binary(void) const
The is_binary method is used to to determine whether or not a file format is binary (true) of text (f...
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.