core/vil/vil_open.h
Go to the documentation of this file.
00001 // This is core/vil/vil_open.h
00002 #ifndef vil_open_h_
00003 #define vil_open_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \brief make a vil_stream from a filename, an URL, etc.
00010 //
00011 // \author fsm
00012 
00013 #include <vil/vil_stream.h>
00014 #include <vxl_config.h>
00015 
00016 //: make a vil_stream from a filename, an URL, etc.
00017 // \relatesalso vil_stream
00018 vil_stream *vil_open(char const* what, char const* how = "r");
00019 
00020 
00021 #if defined(VCL_WIN32) && VXL_USE_WIN_WCHAR_T
00022 //: make a vil_stream from a filename, an URL, etc.
00023 // \relatesalso vil_stream
00024 vil_stream *vil_open(wchar_t const* what, char const* how = "r");
00025 #endif //defined(VCL_WIN32) && VXL_USE_WIN_WCHAR_T
00026 
00027 #endif // vil_open_h_