Newer
Older
TB_Chris / TbUT / src / .svn / text-base / TbUTChannelMaskFileValidator.h.svn-base
@iaro iaro on 9 May 2016 495 bytes first attempt of automated anal
  1. /*
  2. * TbUTChannelMaskFileValidator.h
  3. *
  4. * Created on: Oct 10, 2014
  5. * Author: ADendek
  6. */
  7.  
  8. #pragma once
  9. #include "TbUTIFileValidator.h"
  10. #include <boost/filesystem.hpp>
  11. #include <string>
  12.  
  13. namespace TbUT
  14. {
  15. class ChannelMaskFileValidator: public IFileValidator
  16. {
  17. public:
  18. ChannelMaskFileValidator( std::string& p_filename);
  19. bool validateFile();
  20.  
  21. private:
  22. bool isfileExist();
  23. bool isRegularFile();
  24. bool hasProperSize();
  25.  
  26.  
  27. std::string& m_filename;
  28. boost::filesystem::path m_path;
  29. };
  30. }
  31.