#include "outputstream.h"
Go to the source code of this file.
Typedefs | |
typedef xmlcpgPRINTSTREAM | xmlcpgPrintStream |
The print stream type declaration. | |
Functions | |
xmlcpgPrintStream * | xmlcpgnewPrintStream (xmlcpgOutputStream *os) |
Creates a new print stream with an output stream. | |
void | xmlcpgdeletePrintStream (xmlcpgPrintStream *ps) |
Destroys the print stream. | |
int | xmlcpgisPrintStream (const xmlcpgPrintStream *ps) |
Tells if the the object is a print stream. | |
void | xmlcpgprintPrintStreamChar (xmlcpgPrintStream *ps, char c) |
Prints a character. | |
void | xmlcpgprintPrintStreamString (xmlcpgPrintStream *ps, const char *s) |
Prints a string. | |
void | xmlcpgprintPrintStreamFloat (xmlcpgPrintStream *ps, float f) |
Prints a float. | |
void | xmlcpgprintPrintStreamDouble (xmlcpgPrintStream *ps, double d) |
Prints a double. | |
void | xmlcpgprintPrintStreamInt (xmlcpgPrintStream *ps, int i) |
Prints an integer. | |
void | xmlcpgprintPrintStreamUnsignedInt (xmlcpgPrintStream *ps, unsigned int u) |
Prints an unsigned integer. | |
void | xmlcpgprintPrintStreamLong (xmlcpgPrintStream *ps, long l) |
Prints a long. | |
void | xmlcpgprintPrintStreamLn (xmlcpgPrintStream *ps) |
Prints a newline. | |
int | xmlcpggetPrintStreamEOS (const xmlcpgPrintStream *ps) |
Tests the end of stream indicator of the print stream. | |
int | xmlcpgflushPrintStream (xmlcpgPrintStream *ps) |
Flushes the print stream. | |
int | xmlcpgwritePrintStreamChar (xmlcpgPrintStream *ps, int c) |
Writes a character to the print stream. | |
int | xmlcpgwritePrintStream (xmlcpgPrintStream *ps, const void *ptr, int nb) |
Writes some bytes of data to the location pointed by ptr. | |
int | xmlcpgclosePrintStream (xmlcpgPrintStream *ps) |
Closes the print stream. | |
int | xmlcpggetPrintStreamError (const xmlcpgPrintStream *ps) |
Tests the error indicator of the print stream. | |
const char * | xmlcpggetPrintStreamErrorString (const xmlcpgPrintStream *ps) |
Gets the string describing the error. |
|
The print stream type declaration.
|
|
Closes the print stream.
|
|
Destroys the print stream. The stream must be closed before with the xmlcpgclosePrintStream function.
|
|
Flushes the print stream.
|
|
Tests the end of stream indicator of the print stream.
|
|
Tests the error indicator of the print stream.
|
|
Gets the string describing the error.
|
|
Tells if the the object is a print stream.
|
|
Creates a new print stream with an output stream.
|
|
Prints a character.
|
|
Prints a double.
|
|
Prints a float.
|
|
Prints an integer.
|
|
Prints a newline.
|
|
Prints a long.
|
|
Prints a string.
|
|
Prints an unsigned integer.
|
|
Writes some bytes of data to the location pointed by ptr.
|
|
Writes a character to the print stream.
|