]> git.tdb.fi Git - builder.git/blob - plugins/datafile/datacollection.h
Refactor transitive dependencies to work on all targets
[builder.git] / plugins / datafile / datacollection.h
1 #ifndef DATACOLLECTION_H_
2 #define DATACOLLECTION_H_
3
4 #include <msp/builder/filetarget.h>
5
6 class DataTransform;
7
8 class DataCollection: public FileTarget
9 {
10 private:
11         DataTransform &source;
12
13 public:
14         DataCollection(Builder &, const Component &, DataTransform &);
15 private:
16         static Msp::FS::Path generate_target_path(const Component &, const Msp::FS::Path &);
17
18 public:
19         const char *get_type() const override { return "DataCollection"; }
20         DataTransform &get_source() const { return source; }
21 };
22
23 #endif