ChecksumFile.hh 941 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
// (C) Copyright 2016 by Autodesk, Inc.
//
// The information contained herein is confidential, proprietary
// to Autodesk,  Inc.,  and considered a trade secret as defined
// in section 499C of the penal code of the State of California.
// Use of  this information  by  anyone  other  than  authorized
// employees of Autodesk, Inc.  is granted  only under a written
// non-disclosure agreement,  expressly  prescribing  the  scope
// and manner of such use.
10 11
#ifndef BASE_CHECKSUMFILE_HH_INCLUDE
#define BASE_CHECKSUMFILE_HH_INCLUDE
12

13 14 15
#ifdef TEST_ON

#include "ChecksumLogValueT.hh"
16 17

namespace Test {
18 19 20 21 22 23 24 25 26
namespace Checksum {

/*!
checksum for output files. It has a method record that add a file hash.
*/
class File : public LogValueT<std::string>
{
public:
  File(const char* _name); //!<[in] Checksum name.
27

28 29
  void record(const char* _flnm);
};
30 31 32



33 34
}//namespace Checksum
}//namespace Test
35

36 37
#endif//TEST_ON
#endif//BASE_CHECKSUMFILE_HH_INCLUDE