Simple C Expat Wrapper (SCEW)  1.1.7
Typedefs | Functions
printer.h File Reference

SCEW printer routines for XML output. More...

#include "export.h"
#include "writer.h"

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_printerscew_printer_create (scew_writer *writer)
 Creates a new SCEW printer that will use the given writer by default. More...
 
SCEW_API void scew_printer_free (scew_printer *printer)
 Frees the given SCEW printer. More...
 
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. More...
 
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. More...
 
SCEW_API scew_writerscew_printer_set_writer (scew_printer *printer, scew_writer *writer)
 Sets the given SCEW writer to the specified printer. More...
 
SCEW_API scew_bool scew_printer_print_tree (scew_printer *printer, scew_tree const *tree)
 Prints the given SCEW tree to the specified printer. More...
 
SCEW_API scew_bool scew_printer_print_element (scew_printer *printer, scew_element const *element)
 Prints the given SCEW element to the specified printer. More...
 
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. More...
 
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. More...
 
SCEW_API scew_bool scew_printer_print_attribute (scew_printer *printer, scew_attribute const *attribute)
 Prints the given SCEW attribute to the specified printer. More...
 

Detailed Description

SCEW printer routines for XML output.

Author
Aleix Conchillo Flaque aleix.nosp@m.@mem.nosp@m.ber.f.nosp@m.sf.o.nosp@m.rg
Date
Fri Jan 16, 2009 22:34 , , ,