libsc  2.8.7
The SC library provides support for parallel scientific applications.
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sc_io_source Struct Reference

A generic data source. More...

#include <sc_io.h>

Collaboration diagram for sc_io_source:
Collaboration graph
[legend]

Data Fields

sc_io_type_t iotype
 type of the I/O operation
 
sc_io_encode_t encode
 encoding of data
 
sc_array_tbuffer
 buffer for the iotype SC_IO_TYPE_BUFFER
 
size_t buffer_bytes
 distinguish from array elements
 
FILE * file
 file pointer for iotype unequal to SC_IO_TYPE_BUFFER
 
size_t bytes_in
 input bytes count
 
size_t bytes_out
 read bytes count
 
int is_eof
 Have we reached the end of file?
 
sc_io_sink_tmirror
 if activated, a sink to store the data
 
sc_array_tmirror_buffer
 if activated, the buffer for the mirror
 

Detailed Description

A generic data source.


The documentation for this struct was generated from the following file: