19 #ifndef SRECORD_OUTPUT_FILE_IDT_H
20 #define SRECORD_OUTPUT_FILE_IDT_H
91 unsigned long data_count;
113 bool data_count_written;
119 void write_data_count(
void);
136 void write_inner(
int tag,
unsigned long address,
unsigned address_nbytes,
137 const unsigned char *data,
size_t data_nbytes);
The srecord::output_file_idt class is used to represent an output file which emits Integrated Device ...
const char * format_name(void) const
The format_name method is used to obtain the name of this output format.
void write(const record &rec)
The write method is used to write a recordonto an output.
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...
static pointer create(const std::string &file_name)
The create class method is used to create new dynamically allocated instances of this class.
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_idt()
The destructor.
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 address_length_set(int nbytes)
The address_length_set method is used to set the minimum number of bytes to be written for addresses ...
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.
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.