Output to unstructured files

Output to unstructured files

Synopsis




                    GsfOutput;
gboolean            gsf_output_set_name_from_filename   (GsfOutput *output,
                                                         char const *filename);


Object Hierarchy


  GObject
   +----GsfOutput
         +----GsfOutfile
         +----GsfOutputBzip
         +----GsfOutputCsv
         +----GsfOutputGZip
         +----GsfOutputIconv
         +----GsfOutputIOChannel
         +----GsfOutputMemory
         +----GsfOutputStdio

Properties


  "is-closed"                gboolean              : Read
  "name"                     gchararray            : Read
  "position"                 gint64                : Read
  "size"                     gint64                : Read

Description

Details

GsfOutput

typedef struct _GsfOutput GsfOutput;

Class representing an output stream, counterpart to GsfInput.


gsf_output_set_name_from_filename ()

gboolean            gsf_output_set_name_from_filename   (GsfOutput *output,
                                                         char const *filename);

Note

This is a utility routine that should only be used by derived outputs.

output :

the output stream

filename :

the (fs-sys encoded) filename

Returns :

TRUE if the assignment was ok.

Property Details

The "is-closed" property

  "is-closed"                gboolean              : Read

Whether the Output is Closed.

Default value: FALSE


The "name" property

  "name"                     gchararray            : Read

The Output's Name.

Default value: NULL


The "position" property

  "position"                 gint64                : Read

The Output's Current Position.

Allowed values: >= 0

Default value: 0


The "size" property

  "size"                     gint64                : Read

The Output's Size.

Allowed values: >= 0

Default value: 0