/** * @module cbitmap * @author Guenther Neuwirth (0626638), Manuel Mausz (0728348) * @brief Implementation of CFile handling Bitmaps. * @date 17.04.2009 */ #ifndef CBITMAP_H #define CBITMAP_H #include #include "cfile.h" class CPixelFormat; #include "cpixelformat.h" /** * @class CBitmap * @brief Implementation of CFile handling Bitmaps. * * In order to support operations on bitmaps with different color bitcounts * different implementations of CPixelFormat are used. These classes are * allowed to modify the bitmap headers and pixelbuffer directly. * * On error CFile::FileError is thrown. */ class CBitmap : public CFile { public: /** * @method CBitmap * @brief Default ctor * @param - * @return - * @globalvars none * @exception none * @conditions none */ CBitmap() {} /** * @method ~CBitmap * @brief Default dtor * @param - * @return - * @globalvars none * @exception none * @conditions none */ virtual ~CBitmap() {}; /** * TODO */ virtual void read(std::ifstream& in) = 0; /** * TODO */ virtual void write(std::ofstream& out) = 0; /** * TODO */ virtual void callFunc(const std::string& func, const std::list& params) = 0; }; #endif /* vim: set et sw=2 ts=2: */