|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
#include <imbuffer.h>
Public Member Functions | |
| im_buffer (long n) | |
| im_buffer (const im_buffer &b) | |
| ~im_buffer () | |
| bool | insert (T &x) |
| unsigned long | insert (T *x, unsigned long n) |
| void | sort () |
| unsigned long | get_buf_maxlen () const |
| unsigned long | get_buf_len () const |
| bool | is_full () const |
| bool | is_empty () const |
| T | get_item (unsigned long i) const |
| T * | get_array () const |
| AMI_STREAM< T > * | save2str () const |
| void | set_item (unsigned long i, T &item) |
| void | reset () |
| void | clear () |
| void | reset (unsigned long start, unsigned long n) |
| void | shift_left (unsigned long n) |
| void | print_range () const |
| void | print () const |
Friends | |
| ostream & | operator<< (ostream &s, const im_buffer &b) |
Definition at line 71 of file imbuffer.h.
|
inline |
Definition at line 89 of file imbuffer.h.
References assert, and MEMORY_LOG().
| im_buffer< T >::im_buffer | ( | const im_buffer< T > & | b | ) |
Definition at line 206 of file imbuffer.h.
References assert, b, and MEMORY_LOG().
Definition at line 106 of file imbuffer.h.
Definition at line 167 of file imbuffer.h.
|
inline |
Definition at line 142 of file imbuffer.h.
Definition at line 126 of file imbuffer.h.
Definition at line 123 of file imbuffer.h.
Definition at line 135 of file imbuffer.h.
References assert.
Definition at line 223 of file imbuffer.h.
Definition at line 245 of file imbuffer.h.
Definition at line 132 of file imbuffer.h.
Definition at line 129 of file imbuffer.h.
Definition at line 403 of file imbuffer.h.
Definition at line 361 of file imbuffer.h.
Definition at line 156 of file imbuffer.h.
References NULL.
Definition at line 327 of file imbuffer.h.
References AMI_STREAM< T >::AMI_STREAM(), and assert.
| AMI_STREAM< T > * im_buffer< T >::save2str | ( | ) | const |
Definition at line 416 of file imbuffer.h.
References AMI_ERROR_NO_ERROR, AMI_STREAM< T >::AMI_STREAM(), assert, and AMI_STREAM< T >::write_item().
Definition at line 148 of file imbuffer.h.
References assert.
Definition at line 348 of file imbuffer.h.
References AMI_STREAM< T >::AMI_STREAM(), and assert.
Definition at line 262 of file imbuffer.h.
References AMI_STREAM< T >::AMI_STREAM().
Definition at line 180 of file imbuffer.h.