ESA JPIP server  0.1
data::InputOperator Struct Reference

This struct identifies a basic input operator to be applied to a File object. More...

#include <serialize.h>

Collaboration diagram for data::InputOperator:

Static Public Member Functions

static const char * FileAccess ()
 Returns the required file access for this operator. More...
 
static bool SerializeBytes (File &file, void *ptr, int num_bytes)
 Performs an input (read) serialization of bytes for a file. More...
 

Detailed Description

This struct identifies a basic input operator to be applied to a File object.

See Also
BaseStream
File

Member Function Documentation

static const char* data::InputOperator::FileAccess ( )
inlinestatic

Returns the required file access for this operator.

static bool data::InputOperator::SerializeBytes ( File file,
void *  ptr,
int  num_bytes 
)
inlinestatic

Performs an input (read) serialization of bytes for a file.

Parameters
fileFile to use for the operation.
ptrPointer to the buffer where to store the bytes.
num_bytesNumber of bytes to read from the file.
Returns
true if successful.

Here is the call graph for this function:


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