FileInputFiled.h 345 B

1234567891011121314151617
  1. #pragma once
  2. #include "IInputFiled.h"
  3. class CFileInputFiled:public CInputFiled
  4. {
  5. public:
  6. CFileInputFiled(CString filed_name,CString filed_value,CString file_name);
  7. ~CFileInputFiled(void);
  8. virtual unsigned long DataSize();
  9. virtual void Open();
  10. virtual void Close();
  11. virtual int Read( void* buffer,int buffer_size );
  12. CFile * m_file;
  13. };