| 
            ocssw
            
             V2022
            
            | 
| Functions | |
| void | epr_print_record (const EPR_SRecord *record, FILE *ostream) | 
| void | epr_print_field (const EPR_SField *field, FILE *ostream) | 
| void | epr_print_element (const EPR_SRecord *record, epr_uint field_index, epr_uint element_index, FILE *ostream) | 
| void | epr_dump_record (const EPR_SRecord *record) | 
| void | epr_dump_field (const EPR_SField *field) | 
| void | epr_dump_element (const EPR_SRecord *record, epr_uint field_index, epr_uint element_index) | 
Detailed Description
This group of functions is for writing an object to a file or standard output.
An object can be:
- record
- field
- field element
If FILE* istream is given, the ASCII file will be outputed, else printed to standard output device.
In case record and/or field:
- Parameters
- 
  record the record, must not be NULLfield the field, must not be NULL
In case field element:
- Parameters
- 
  record the record, must not be NULLfield_index the index of field in the given record element_index the index of element in the given field ostream the identifier of the output file. 
Function Documentation
◆ epr_dump_element()
Dumps the element content to stdout.
- Parameters
- 
  record the pointer to the element to be printed out. 
Definition at line 161 of file epr_dump.c.
◆ epr_dump_field()
| void epr_dump_field | ( | const EPR_SField * | field | ) | 
Dumps the field content to stdout.
- Parameters
- 
  field the pointer to the field to be printed out 
Definition at line 75 of file epr_dump.c.
◆ epr_dump_record()
| void epr_dump_record | ( | const EPR_SRecord * | record | ) | 
Dumps the record content to stdout.
- Parameters
- 
  record the pointer to the record to be printed out. 
Definition at line 45 of file epr_dump.c.
◆ epr_print_element()
| void epr_print_element | ( | const EPR_SRecord * | record, | 
| epr_uint | field_index, | ||
| epr_uint | element_index, | ||
| FILE * | ostream | ||
| ) | 
Dumps the element content to an output FILE stream..
- Parameters
- 
  record the pointer to the element to be written out. 
Definition at line 172 of file epr_dump.c.
◆ epr_print_field()
| void epr_print_field | ( | const EPR_SField * | field, | 
| FILE * | ostream | ||
| ) | 
Gets the field content to output FILE stream.
- Parameters
- 
  field the pointer to the field to be printed out ostream the identifier of the output file. 
Definition at line 86 of file epr_dump.c.
◆ epr_print_record()
| void epr_print_record | ( | const EPR_SRecord * | record, | 
| FILE * | ostream | ||
| ) | 
Dumps the record content to an output FILE stream.
- Parameters
- 
  record the pointer to the record to be printed out. ostream the identifier of the output file. 
Definition at line 56 of file epr_dump.c.


