00001 00018 #ifndef INC_SPATMOD_IMAGESOURCEWBMP_H 00019 #define INC_SPATMOD_IMAGESOURCEWBMP_H 00020 00021 #ifndef INC_SPATMOD_IMAGESOURCEFILE_H 00022 #include <spatmod/imagesourcefile.h> 00023 #endif 00024 00025 namespace SPATMOD { 00026 namespace IMAGE { 00027 00028 //===================================================================================================================== 00029 00031 class SOURCE_WBMP : public SOURCE_FILE { 00032 public: 00033 00035 explicit SOURCE_WBMP ( 00036 const FILEPATH& FilePath 00037 ); 00038 00041 explicit SOURCE_WBMP ( 00042 SIMPLE_ARRAY<UINT8>& MemBuffer 00043 ); 00044 00047 SOURCE_WBMP ( 00048 UINT8*& MemBuffer, 00049 UINT32 BufferSize 00050 ); 00051 00053 virtual ~SOURCE_WBMP (); 00054 00055 private: 00056 #ifndef GENERATING_DOXYGEN_OUTPUT 00057 int m_OffsetRow0; 00058 int m_BytesPerRow; 00059 00060 // BASE overrides. 00061 virtual float v_QueryIterator (const SECTION_ITERATOR& iterator) const; 00062 00063 // STAGE overrides. 00064 virtual ERRVALUE v_Initialize (); 00065 virtual ERRVALUE v_PullBegin (const SECTION_ITERATOR& iterator); 00066 virtual ERRVALUE v_PullSubSection (const SECTION& SubSection, BUFFER& buffer); 00067 00068 // Unimplemented 00069 SOURCE_WBMP (const SOURCE_WBMP&); 00070 SOURCE_WBMP& operator= (const SOURCE_WBMP&); 00071 #endif // GENERATING_DOXYGEN_OUTPUT 00072 00073 }; 00074 00075 //===================================================================================================================== 00076 00077 } // End namespace IMAGE 00078 } // End namespace SPATMOD 00079 00080 #endif // INC_SPATMOD_IMAGESOURCEWBMP_H 00081
1.6.1