|
Simple C Expat Wrapper (SCEW)
1.1.4
|
SCEW printer routines for XML output. More...
Go to the source code of this file.
Typedefs | |
| typedef struct scew_printer | scew_printer |
| This is the type delcaration for the SCEW printer. | |
Functions | |
| SCEW_API scew_printer * | scew_printer_create (scew_writer *writer) |
| Creates a new SCEW printer that will use the given writer by default. | |
| SCEW_API void | scew_printer_free (scew_printer *printer) |
| Frees the given SCEW printer. | |
| SCEW_API void | scew_printer_set_indented (scew_printer *printer, scew_bool indented) |
| Tells whether the output sent to the given SCEW printer should be indented or not. | |
| SCEW_API void | scew_printer_set_indentation (scew_printer *printer, unsigned int spaces) |
| Sets the number of spaces to use when indenting output for the given SCEW printer. | |
| SCEW_API scew_writer * | scew_printer_set_writer (scew_printer *printer, scew_writer *writer) |
| Sets the given SCEW writer to the specified printer. | |
| SCEW_API scew_bool | scew_printer_print_tree (scew_printer *printer, scew_tree const *tree) |
| Prints the given SCEW tree to the specified printer. | |
| SCEW_API scew_bool | scew_printer_print_element (scew_printer *printer, scew_element const *element) |
| Prints the given SCEW element to the specified printer. | |
| SCEW_API scew_bool | scew_printer_print_element_children (scew_printer *printer, scew_element const *element) |
| Prints the given SCEW element children to the specified printer. | |
| SCEW_API scew_bool | scew_printer_print_element_attributes (scew_printer *printer, scew_element const *element) |
| Prints the given SCEW element attributes to the specified printer. | |
| SCEW_API scew_bool | scew_printer_print_attribute (scew_printer *printer, scew_attribute const *attribute) |
| Prints the given SCEW attribute to the specified printer. | |
SCEW printer routines for XML output.
1.8.1.2