20 #ifndef SRECORD_OUTPUT_FILE_HEXDUMP_H
21 #define SRECORD_OUTPUT_FILE_HEXDUMP_H
90 int number_of_columns;
98 unsigned long row_cache_address;
105 unsigned long row_cache_address_mask;
111 size_t row_cache_size;
130 void emit_byte(
unsigned long address,
unsigned char data);
136 void row_cache_print(
void);
141 int columns_to_line_length(
int cols);
The srecord::output_file_hexdump class is used to represent an output file which emits a hexadecimal ...
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.
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 command_line(arglex_tool *cmdln)
The command_line method is used by arglex_srec::get_output when parsing the command line,...
virtual ~output_file_hexdump()
The destructor.
void address_length_set(int)
The address_length_set method is used to set the minimum number of bytes to be written for addresses ...
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.
static pointer create(const std::string &file_name)
The create class method is used to create new dynamically allocated instances of this class.
The srecord::output_file class is used to represent a generic output file.
std::shared_ptr< output > pointer
The srecord::record class is used to represent a data record read from a file.