vil_io_image_view_base.h
Go to the documentation of this file.
1 #ifndef vil_io_image_view_base_h_
2 #define vil_io_image_view_base_h_
3 //:
4 // \file
5 // \brief vsl binary I/O functions for reading and writing vil_image_view_base_sptr.
6 // \author Daniel Crispell
7 // \date February 7, 2008
8 //
9 // These functions are needed so we can place vil_image_view_base_sptr's in a brdb_database.
10 
11 #include <vsl/vsl_binary_io.h>
13 #include <vil/vil_image_resource.h>
15 
16 //: Binary write voxel world to stream
17 template <>
18 void vsl_b_write(vsl_b_ostream & os, vil_image_view_base_sptr const& view_base);
19 
20 
21 //: Binary load voxel world from stream.
22 template <>
23 void vsl_b_read(vsl_b_istream & is, vil_image_view_base_sptr &view_base);
24 
25 //: Binary write voxel world to stream
26 template <>
27 void vsl_b_write(vsl_b_ostream & os, vil_image_resource_sptr const& view_base);
28 
29 
30 //: Binary load voxel world from stream.
31 template <>
32 void vsl_b_read(vsl_b_istream & is, vil_image_resource_sptr &view_base);
33 
34 #if 0
35 //: Binary write voxel world to stream
36 template <>
37 void vsl_b_write(vsl_b_ostream & os, vil_image_view_base const& view_base);
38 
39 //: Binary load voxel world from stream.
40 template <>
41 void vsl_b_read(vsl_b_istream & is, vil_image_view_base &view_base);
42 #endif // 0
43 
44 #endif
An abstract base class of smart pointers to actual image data in memory.
A templated smart pointer class.
Definition: vil_fwd.h:16
A base class reference-counting view of some image data.
Serialised binary IO functions for vil_smart_ptr<T>
void vsl_b_write(vsl_b_ostream &os, const vil_image_view< T > &image)
Binary save vil_image_view<T> to stream.
Representation of a generic image source or destination.
void vsl_b_read(vsl_b_istream &is, vil_image_view< T > &image)
Binary load vil_image_view<T> from stream.