vil_stream_read.h
Go to the documentation of this file.
1 #ifndef vil_stream_read_h_
2 #define vil_stream_read_h_
3 //:
4 // \file
5 // \brief read numbers from vil_stream
6 //
7 // \verbatim
8 // Modifications
9 // 23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels
10 // \endverbatim
11 
12 #include <vxl_config.h>
13 class vil_stream;
14 
17 
20 
23 
24 #if VXL_HAS_INT_64
25 vxl_uint_64 vil_stream_read_big_endian_uint_64(vil_stream *);
26 vxl_uint_64 vil_stream_read_little_endian_uint_64(vil_stream *);
27 #endif
28 
29 //: Reads in a 4-byte big-endian float.
30 // \relatesalso vil_stream
32 
33 //: Reads in n 16 bit unsigned ints.
34 // Caller is responsible for allocating enough space.
35 // \relatesalso vil_stream
37  vxl_uint_16* data, unsigned n);
38 
39 #endif // vil_stream_read_h_
float vil_stream_read_big_endian_float(vil_stream *is)
Reads in a 4-byte big-endian float.
vxl_uint_16 vil_stream_read_big_endian_uint_16(vil_stream *)
Stream interface for VIL image loaders.
Definition: vil_stream.h:21
vxl_uint_32 vil_stream_read_big_endian_uint_32(vil_stream *)
void vil_stream_read_big_endian_int_16(vil_stream *is, vxl_uint_16 *data, unsigned n)
Reads in n 16 bit unsigned ints.
vxl_uint_32 vil_stream_read_little_endian_uint_32(vil_stream *)
vxl_int_32 vil_stream_read_little_endian_int_32(vil_stream *s)
vxl_uint_16 vil_stream_read_little_endian_uint_16(vil_stream *)
vxl_int_32 vil_stream_read_big_endian_int_32(vil_stream *s)