|
|
@ -1,6 +1,7 @@ |
|
|
|
#ifndef LIBCBAG
|
|
|
|
#define LIBCBAG
|
|
|
|
#include <string>
|
|
|
|
#include <sstream>
|
|
|
|
#include "payload.hpp"
|
|
|
|
#include "manifest.hpp"
|
|
|
|
#include "tagmanifest.hpp"
|
|
|
@ -14,6 +15,10 @@ using namespace std; |
|
|
|
class Bag { |
|
|
|
private: |
|
|
|
string base_dir; // from where the bag was loaded, optional
|
|
|
|
stringstream log; |
|
|
|
int bagit_version_major; |
|
|
|
int bagit_version_minor; |
|
|
|
string tag_file_character_encoding; |
|
|
|
class Payload *payload_p;; |
|
|
|
class Manifest *manifest_p; // TODO: list of manifests
|
|
|
|
class Tagmanifest *tagmanifest_p; // TODO: list of tag manifests, optional
|
|
|
|