GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
#include <mem_stream.h>
Public Member Functions | |
MEM_STREAM (T *data, int len) | |
~MEM_STREAM (void) | |
AMI_err | read_item (T **elt) |
AMI_err | write_item (const T &elt) |
off_t | stream_len (void) |
AMI_err | name (char **stream_name) |
AMI_err | seek (off_t offset) |
char * | sprint () |
Definition at line 47 of file mem_stream.h.
MEM_STREAM< T >::MEM_STREAM | ( | T * | data, |
int | len | ||
) |
Definition at line 79 of file mem_stream.h.
MEM_STREAM< T >::~MEM_STREAM | ( | void | ) |
Definition at line 130 of file mem_stream.h.
AMI_err MEM_STREAM< T >::name | ( | char ** | stream_name | ) |
Definition at line 103 of file mem_stream.h.
References AMI_ERROR_NO_ERROR.
Referenced by ReplacementHeapBlock< T, Compare >::addRun().
AMI_err MEM_STREAM< T >::read_item | ( | T ** | elt | ) |
Definition at line 137 of file mem_stream.h.
References AMI_ERROR_END_OF_STREAM, AMI_ERROR_NO_ERROR, and assert.
AMI_err MEM_STREAM< T >::seek | ( | off_t | offset | ) |
Definition at line 117 of file mem_stream.h.
References AMI_ERROR_NO_ERROR, and assert.
char * MEM_STREAM< T >::sprint | ( | ) |
Definition at line 176 of file mem_stream.h.
References MEM_STREAM< T >::stream_len().
off_t MEM_STREAM< T >::stream_len | ( | void | ) |
Definition at line 92 of file mem_stream.h.
Referenced by MEM_STREAM< T >::sprint().
AMI_err MEM_STREAM< T >::write_item | ( | const T & | elt | ) |
Definition at line 155 of file mem_stream.h.
References AMI_ERROR_END_OF_STREAM, AMI_ERROR_NO_ERROR, and assert.