Newer
Older
TB_Chris / TbUT / src / .svn / text-base / TbUTAlbavaFileValidator.h.svn-base
@iaro iaro on 9 May 2016 478 bytes first attempt of automated anal
  1. /*
  2. * TbUTAlbavaFileValidator.h
  3. *
  4. * Created on: Oct 5, 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 AlbavaFileValidator: public IFileValidator
  16. {
  17. public:
  18. AlbavaFileValidator( std::string& p_filename);
  19. bool validateFile();
  20.  
  21. private:
  22. bool isfileExist();
  23. bool isRegularFile();
  24. bool hasNonZeroSize();
  25.  
  26. std::string& m_filename;
  27. boost::filesystem::path m_path;
  28. };
  29. }