GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
#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 46 of file mem_stream.h.
MEM_STREAM< T >::MEM_STREAM | ( | T * | data, |
int | len | ||
) |
Definition at line 77 of file mem_stream.h.
MEM_STREAM< T >::~MEM_STREAM | ( | void | ) |
Definition at line 124 of file mem_stream.h.
AMI_err MEM_STREAM< T >::name | ( | char ** | stream_name | ) |
Definition at line 98 of file mem_stream.h.
References AMI_ERROR_NO_ERROR, and strcpy.
AMI_err MEM_STREAM< T >::read_item | ( | T ** | elt | ) |
Definition at line 130 of file mem_stream.h.
References assert.
AMI_err MEM_STREAM< T >::seek | ( | off_t | offset | ) |
Definition at line 112 of file mem_stream.h.
References assert.
char * MEM_STREAM< T >::sprint |
Definition at line 167 of file mem_stream.h.
off_t MEM_STREAM< T >::stream_len | ( | void | ) |
Definition at line 89 of file mem_stream.h.
AMI_err MEM_STREAM< T >::write_item | ( | const T & | elt | ) |
Definition at line 146 of file mem_stream.h.
References assert.