C++ Library to handle BagIt structures. BagIt is a standard format to create transfer packages for digital preservation purposes. See https://en.wikipedia.org/wiki/BagIt for details http://andreas-romeyke.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
553 B

3 years ago
3 years ago
3 years ago
3 years ago
  1. #ifndef LIBCBAG_TAGMANIFEST
  2. #define LIBCBAG_TAGMANIFEST
  3. #include <string>
  4. #include <map>
  5. #include "checksum.hpp"
  6. #include "manifest.hpp"
  7. using namespace std;
  8. class Tagmanifest : public Manifest {
  9. private:
  10. bool exist_manifest_files;
  11. string basedir;
  12. map<checksum_algorithms,string> manifest_algorithm_files;
  13. public:
  14. Tagmanifest( string basedir );
  15. bool has_tagmanifest();
  16. map<string,string> get_checksum_file_pairs(checksum_algorithms algorithm);
  17. };
  18. #endif
  19. // vim: set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab