Browse Source

- added some type definitions

- fixed visibility of class data
- using multimap for get_checksum_file_pairs()
master
parent
commit
9b29583970
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      src/include/manifest.hpp

+ 7
- 3
src/include/manifest.hpp View File

@ -5,14 +5,18 @@
#include <list>
#include "checksum.hpp"
using namespace std;
typedef string filename_t;
typedef string checksum_string_t;
class Manifest{
private:
protected:
string basedir;
map<checksum_algorithms,string> manifest_algorithm_files;
map<checksum_algorithms,filename_t> manifest_algorithm_files;
public:
virtual map<string,string> get_checksum_file_pairs(checksum_algorithms algorithm);
virtual multimap<checksum_string_t,filename_t> get_checksum_file_pairs(checksum_algorithms algorithm);
list<filename_t> get_checksummed_files();
virtual bool validate( list<string> & log );
void debug();
};
#endif


Loading…
Cancel
Save