CHUNKFILE.H
Upload User: nthssl
Upload Date: 2022-04-05
Package Size: 25357k
Code Size: 1k
Category:

OpenCV

Development Platform:

Visual C++

  1. // ChunkFile.h: interface for the ChunkFile class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_CHUNKFILE_H__D9478612_7A19_11D1_9E1C_004F4902C0C3__INCLUDED_)
  5. #define AFX_CHUNKFILE_H__D9478612_7A19_11D1_9E1C_004F4902C0C3__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. class ChunkFile
  10. {
  11. public:
  12. unsigned short Id;
  13. ChunkFile(CFile *);
  14. virtual ~ChunkFile();
  15. UINT Read(void *, UINT);
  16. void Write(const void *, UINT);
  17. void Open(unsigned short);
  18. void Close();
  19. void ReadHeader();
  20. void Next();
  21. bool End();
  22. protected:
  23. CFile *fp;
  24. signed char nc;
  25. unsigned long SizeI[10];
  26. unsigned long PositionI[10];
  27. unsigned long resto();
  28. };
  29. #endif // !defined(AFX_CHUNKFILE_H__D9478612_7A19_11D1_9E1C_004F4902C0C3__INCLUDED_)