/* */ #ifndef _D_PRE_ALLOCATION_DISK_WRITER_H_ #define _D_PRE_ALLOCATION_DISK_WRITER_H_ #include "AbstractDiskWriter.h" class PreAllocationDiskWriter:public AbstractDiskWriter { private: unsigned long int size; public: PreAllocationDiskWriter(unsigned long int size); ~PreAllocationDiskWriter(); void initAndOpenFile(string filename); void writeData(const char* data, int len, unsigned long int position); }; #endif // _D_PRE_ALLOCATION_DISK_WRITER_H_