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