30 #include "IIPResponse.h"
31 #include "JPEGCompressor.h"
33 #include "TileManager.h"
37 #include "Watermark.h"
47 #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) || (__GNUC__ >= 4)
52 #if (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)
53 #define USE_POOL_ALLOCATOR 1
61 #include <ext/hash_map>
63 #ifdef USE_POOL_ALLOCATOR
64 #include <ext/pool_allocator.h>
65 typedef __gnu_cxx::hash_map <
const std::string,
IIPImage,
66 __gnu_cxx::hash< const std::string >,
67 std::equal_to< const std::string >,
68 __gnu_cxx::__pool_alloc< std::pair<const std::string,IIPImage> >
71 typedef __gnu_cxx::hash_map <const std::string,IIPImage> imageCacheMapType;
75 typedef std::map<const std::string,IIPImage> imageCacheMapType;
89 std::ofstream* logfile;
90 std::map <const std::string, std::string> headers;
92 imageCacheMapType *imageCache;
152 void resolution_number();
153 void colorspace( std::string arg );
155 void bits_per_channel();
156 void horizontal_views();
157 void vertical_views();
158 void metadata( std::string field );