Go to the source code of this file.
Defines | |
#define | write_case_macro(T) |
#define | read_case_macro_v1(T) |
#define | read_case_macro_v2(T) |
#define | read_case_macro_v3(T) |
Functions | |
void | vsl_b_write (vsl_b_ostream &os, const vil_memory_chunk &chunk) |
Binary save vil_memory_chunk to stream. | |
void | vsl_b_read (vsl_b_istream &is, vil_memory_chunk &chunk) |
Binary load vil_memory_chunk from stream. | |
void | vsl_b_write (vsl_b_ostream &os, const vil_memory_chunk *chunk_ptr) |
Binary save vil_memory_chunk to stream by pointer. | |
void | vsl_b_read (vsl_b_istream &is, vil_memory_chunk *&p) |
Binary load vil_memory_chunk from stream onto the heap. | |
void | vsl_print_summary (vcl_ostream &os, const vil_memory_chunk &chunk) |
Print human readable summary of a vil_memory_chunk object to a stream. |
Definition in file vil_io_memory_chunk.cxx.
#define read_case_macro_v1 | ( | T | ) |
chunk.set_size(n*sizeof(T ),pixel_format); \ for (unsigned i=0; i<n; ++i)\ vsl_b_read(is, static_cast<T *>(chunk.data())[i]);
Definition at line 82 of file vil_io_memory_chunk.cxx.
#define read_case_macro_v2 | ( | T | ) |
chunk.set_size(n*sizeof(T ),pixel_format); \ vsl_block_binary_read_confirm_specialisation(is, false); \ for (unsigned i=0; i<n; ++i)\ vsl_b_read(is, static_cast<T *>(chunk.data())[i]);
Definition at line 87 of file vil_io_memory_chunk.cxx.
#define read_case_macro_v3 | ( | T | ) |
chunk.set_size(n*sizeof(T ),pixel_format); \
vsl_block_binary_read(is,static_cast<T *>(chunk.data()),n)
Definition at line 93 of file vil_io_memory_chunk.cxx.
#define write_case_macro | ( | T | ) |
vsl_b_write(os,unsigned(chunk.size()/sizeof(T ))); \ vsl_block_binary_write(os,(const T*) chunk.const_data(),chunk.size()/sizeof(T))
Definition at line 15 of file vil_io_memory_chunk.cxx.
void vsl_b_read | ( | vsl_b_istream & | is, |
vil_memory_chunk & | chunk | ||
) |
Binary load vil_memory_chunk from stream.
Definition at line 99 of file vil_io_memory_chunk.cxx.
void vsl_b_read | ( | vsl_b_istream & | is, |
vil_memory_chunk *& | p | ||
) |
Binary load vil_memory_chunk from stream onto the heap.
Definition at line 287 of file vil_io_memory_chunk.cxx.
void vsl_b_write | ( | vsl_b_ostream & | os, |
const vil_memory_chunk & | chunk | ||
) |
Binary save vil_memory_chunk to stream.
Definition at line 21 of file vil_io_memory_chunk.cxx.
void vsl_b_write | ( | vsl_b_ostream & | os, |
const vil_memory_chunk * | chunk_ptr | ||
) |
Binary save vil_memory_chunk to stream by pointer.
Definition at line 278 of file vil_io_memory_chunk.cxx.
void vsl_print_summary | ( | vcl_ostream & | os, |
const vil_memory_chunk & | chunk | ||
) |
Print human readable summary of a vil_memory_chunk object to a stream.
Definition at line 302 of file vil_io_memory_chunk.cxx.