vil_open.h
Go to the documentation of this file.
1 // This is core/vil/vil_open.h
2 #ifndef vil_open_h_
3 #define vil_open_h_
4 //:
5 // \file
6 // \brief make a vil_stream from a filename, an URL, etc.
7 //
8 // \author fsm
9 
10 #include <vil/vil_stream.h>
11 #include <vxl_config.h>
12 
13 //: make a vil_stream from a filename, an URL, etc.
14 // \relatesalso vil_stream
15 vil_stream *vil_open(char const* what, char const* how = "r");
16 
17 
18 #if defined(_WIN32) && VXL_USE_WIN_WCHAR_T
19 //: make a vil_stream from a filename, an URL, etc.
20 // \relatesalso vil_stream
21 vil_stream *vil_open(wchar_t const* what, char const* how = "r");
22 #endif //defined(_WIN32) && VXL_USE_WIN_WCHAR_T
23 
24 #endif // vil_open_h_
Stream interface for VIL image loaders.
Stream interface for VIL image loaders.
Definition: vil_stream.h:21
vil_stream * vil_open(char const *what, char const *how="r")
make a vil_stream from a filename, an URL, etc.
Definition: vil_open.cxx:18