31 typedef enum { NECESSARY, UNNECESSARY, UNSPECIFIED_TAG } Tag;
34 typedef enum { INPUT, OUTPUT, UNSPECIFIED_GROUP } Group;
49 DataItem(
const std::string& n,
const std::string& f);
50 DataItem(
const std::string& n, Tag t, Group g);
53 void setName(
const std::string& n);
55 void setGroup(Group g);
56 void setFileName(
const std::string& n);
57 void setOriginalSize(
size_t s);
58 void setEncodedSize(
size_t s);
59 void setEncoding(
char *enc);
61 std::string getName()
const;
63 Group getGroup()
const;
64 std::string getFileName()
const;
65 size_t getOriginalSize()
const;
66 size_t getEncodedSize()
const;
67 char *getEncoding()
const;
75 bool operator==(
const DataItem& other)
const;
76 bool operator!=(
const DataItem& other)
const;
A DataItem (DI) is an object which represents a single file and is the basic unit of the SimDB system...
Definition: DataItem.h:43
Definition: DataItem.h:28
bool isPresent() const
Definition: DataItem.cpp:151