1 // This is core/vil/vil_image_resource_sptr.h
2 #ifndef vil_image_resource_sptr_h_
3 #define vil_image_resource_sptr_h_
4 
5 //:
6 // \file
7 // \brief Smart pointer to an image resource.
8 
9 #include "vil_smart_ptr.h"
10 
11 class vil_image_resource;
12 
13 //: Use this type to refer to and store a vil_image_resource
14 // This object is used to provide safe manipulation of
15 // vil_image_resource derivatives. If you want to
16 // store an image resource (e.g. an image on disk, type-agnostic
17 // memory image), then use this type.
18 typedef vil_smart_ptr<vil_image_resource> vil_image_resource_sptr;
19 
20 
21 #endif // vil_image_resource_sptr_h_
22