]> git.tdb.fi Git - builder.git/blobdiff - source/datacollection.h
Reimplement datafile building
[builder.git] / source / datacollection.h
diff --git a/source/datacollection.h b/source/datacollection.h
new file mode 100644 (file)
index 0000000..2f61b5f
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef DATACOLLECTION_H_
+#define DATACOLLECTION_H_
+
+#include "filetarget.h"
+
+class DataTransform;
+
+class DataCollection: public FileTarget
+{
+private:
+       DataTransform &source;
+
+public:
+       DataCollection(Builder &, const Component &, DataTransform &);
+private:
+       static Msp::FS::Path generate_target_path(const Component &, const Msp::FS::Path &);
+
+public:
+       virtual const char *get_type() const { return "DataCollection"; }
+       DataTransform &get_source() const { return source; }
+};
+
+#endif