GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-f63024f571
|
#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.
Definition at line 89 of file imbuffer.h.
References assert, and MEMORY_LOG().
Definition at line 206 of file imbuffer.h.
References assert, b, and MEMORY_LOG().
Definition at line 106 of file imbuffer.h.
|
inline |
Definition at line 167 of file imbuffer.h.
|
inline |
Definition at line 142 of file imbuffer.h.
|
inline |
Definition at line 126 of file imbuffer.h.
|
inline |
Definition at line 123 of file imbuffer.h.
|
inline |
Definition at line 135 of file imbuffer.h.
References assert.
bool im_buffer< T >::insert | ( | T & | x | ) |
Definition at line 223 of file imbuffer.h.
unsigned long im_buffer< T >::insert | ( | T * | x, |
unsigned long | n | ||
) |
Definition at line 245 of file imbuffer.h.
|
inline |
Definition at line 132 of file imbuffer.h.
|
inline |
Definition at line 129 of file imbuffer.h.
void im_buffer< T >::print |
Definition at line 403 of file imbuffer.h.
void im_buffer< T >::print_range |
Definition at line 361 of file imbuffer.h.
|
inline |
Definition at line 156 of file imbuffer.h.
References NULL.
void im_buffer< T >::reset | ( | unsigned long | start, |
unsigned long | n | ||
) |
Definition at line 327 of file imbuffer.h.
References assert.
AMI_STREAM< T > * im_buffer< T >::save2str |
Definition at line 416 of file imbuffer.h.
References assert, and AMI_STREAM< T >::write_item().
|
inline |
Definition at line 148 of file imbuffer.h.
References assert.
void im_buffer< T >::shift_left | ( | unsigned long | n | ) |
Definition at line 348 of file imbuffer.h.
References assert.
void im_buffer< T >::sort |
Definition at line 262 of file imbuffer.h.
|
friend |
Definition at line 180 of file imbuffer.h.