00001 // This is core/vil/vil_stream_write.h 00002 #ifndef vil_stream_write_h_ 00003 #define vil_stream_write_h_ 00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00005 #pragma interface 00006 #endif 00007 //: 00008 // \file 00009 // \brief write integers to vil_stream 00010 // 00011 // Functions to write integers to aa vil_stream. 00012 // The endianness refers to the format in the stream, not the 00013 // native format of the compiler or execution environment. 00014 // 00015 // \author fsm 00016 // 00017 // \verbatim 00018 // Modifications 00019 // 23 Oct.2003 - Peter Vanroose - Added support for 64-bit int pixels 00020 // \endverbatim 00021 00022 #include <vxl_config.h> 00023 class vil_stream; 00024 00025 //: 00026 // \relatesalso vil_stream 00027 void vil_stream_write_big_endian_uint_16(vil_stream *, vxl_uint_16); 00028 //: 00029 // \relatesalso vil_stream 00030 void vil_stream_write_little_endian_uint_16(vil_stream *, vxl_uint_16); 00031 00032 //: 00033 // \relatesalso vil_stream 00034 void vil_stream_write_big_endian_uint_32(vil_stream *, vxl_uint_32); 00035 //: 00036 // \relatesalso vil_stream 00037 void vil_stream_write_little_endian_uint_32(vil_stream *, vxl_uint_32); 00038 00039 #if VXL_HAS_INT_64 00040 //: 00041 // \relatesalso vil_stream 00042 void vil_stream_write_big_endian_uint_64(vil_stream *, vxl_uint_64); 00043 //: 00044 // \relatesalso vil_stream 00045 void vil_stream_write_little_endian_uint_64(vil_stream *, vxl_uint_64); 00046 #endif 00047 00048 #endif // vil_stream_write_h_