#include <stdio.h>#include <string.h>#include "gnn_filewriter.h"Include dependency graph for gnn_filewriter.c:

Go to the source code of this file.
Data Structures | |
| struct | _gnn_filewriter |
Typedefs | |
| typedef _gnn_filewriter | gnn_filewriter |
| The datatype for a filewriter. | |
Functions | |
| int | gnn_filewriter_put (gnn_output *set, size_t k, const gsl_vector *v) |
| The "put" function. | |
| void | gnn_filewriter_destroy (gnn_output *set) |
| The "destroy" function. | |
| gnn_output * | gnn_filewriter_new (FILE *fp) |
| Builds a new filewriter device. | |
| gnn_output * | gnn_filewriter_with_file_new (const char *filename) |
| Builds a new filewriter device with a given filename. | |
| int | gnn_filewriter_set_format (gnn_output *set, const char *fmt) |
| Sets a new print format. | |
| const char * | gnn_filewriter_get_format (gnn_output *set) |
| Gets the print format. | |
| int | gnn_filewriter_set_prefix (gnn_output *set, const char *prefix) |
| Sets a new printing prefix. | |
| const char * | gnn_filewriter_get_prefix (gnn_output *set) |
| Gets the prefix format string. | |
| int | gnn_filewriter_set_postfix (gnn_output *set, const char *postfix) |
| Sets a new printing postfix. | |
| const char * | gnn_filewriter_get_postfix (gnn_output *set) |
| Gets the postfix format string. | |
| int | gnn_filewriter_owns_file (gnn_output *set) |
| Check if it owns the file. | |
1.2.18