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
/*
 * TbUTPedestalFileValidator.h
 *
 *  Created on: Jan 2, 2015
 *      Author: ADendek
 */

#include "TbUTIFileValidator.h"
#include <boost/filesystem.hpp>
#include <string>

namespace TbUT
{

class PedestalFileValidator: public IFileValidator
{
public:
	PedestalFileValidator(const std::string& p_filename);
	bool validateFile();

private:
	bool isfileExist();
	bool isRegularFile();
	bool hasNonZeroSize();

	const std::string& m_filename;
	boost::filesystem::path  m_path;
};

} /* namespace TbUT */