#include <hps.h>
Static Public Member Functions | |
static ExportNotifier | Export (char const *in_file_name, SegmentKey const &in_segment, ExportOptionsKit const &in_options) |
static ExportNotifier | Export (SegmentKey const &in_segment, ExportOptionsKit const &in_options, ByteArrayArray &out_hsf_buffers) |
static ImportNotifier | Import (char const *in_file_name, ImportOptionsKit const &in_options) |
static ImportNotifier | Import (ByteArrayArray const &in_hsf_buffers, ImportOptionsKit const &in_options) |
The File class provides functions to import and export HSF files.
|
static |
Performs an asychronous HSF export of the given segment with the provided options to a given filename. An exception will be thrown if a problem is encountered during export.
in_file_name | Name of the file to write the HSF data to. |
in_segment | Segment containing the data to export. |
in_options | Options controlling the export of the HSF data. |
|
static |
Performs an asychronous HSF export of the given segment with the provided options to a list of output buffers. An exception will be thrown if a problem is encountered during export.
in_segment | Segment containing the data to export. |
in_options | Options controlling the export of the HSF data. |
out_hsf_buffers | The output buffers the exported HSF data is written to. |
|
static |
Performs an asynchronous import of the specified HSF file with the provided options. May throw an IOException prior to starting the asynchronous import.
in_file_name | Name of HSF file to import. |
in_options | Options controlling the import of the HSF file (e.g., segment to import into). |
|
static |
Performs an asynchronous import of the specified HSF file with the provided options. May throw an IOException prior to starting the asynchronous import.
in_hsf_buffers | The buffer of HSF data to import. |
in_options | Options controlling the import of the HSF file (e.g., segment to import into). |