| Top |
VisuDumpDataVisuDumpData — A generic class defining interface to export VisuData into text formats. |
gboolean (*VisuDumpDataWriteFunc) (VisuDumpData *format,const char *fileName,VisuData *dataObj,GError **error);
This is a prototype of a method implemented by a dumping extension that is called when the current rendering must be dumped to a file.
format |
a VisuDumpData object ; |
|
fileName |
a string that defined the file to write to ; |
|
dataObj |
the VisuData to be exported ; |
|
error |
a location to store some error (not NULL) ;. |
[allow-none] |
VisuDumpData * visu_dump_data_new (const gchar *descr,const gchar **patterns,VisuDumpDataWriteFunc method);
Creates a new VisuDumpData object.
descr |
a description. |
|
patterns |
a list of file patterns. |
[array zero-terminated=1] |
method |
the write method. |
[scope call] |
Since: 3.8
gboolean visu_dump_data_write (VisuDumpData *dump,const char *fileName,VisuData *dataObj,GError **error);
Use the write function of dump
to export the current dataObj
to
file fileName
.
Since: 3.6
struct VisuDumpDataClass {
VisuDumpClass parent;
};
Common name to refer to a _VisuDumpDataClass.