LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
string-task.hh
Go to the documentation of this file.
1 
6 #ifndef TASK_STRING_TASK_HH
7 # define TASK_STRING_TASK_HH
8 
9 # include <task/task.hh>
10 
11 namespace task
12 {
13 
15  class StringTask : public Task
16  {
17  public:
18  StringTask(std::string& var,
19  const char* module_name, const char* desc,
20  const char* name,
21  std::string deps);
22 
23  public:
24  virtual bool check() const override;
25  virtual void execute() const override;
26 
27  private:
28  std::string& var_;
29  };
30 
31 } //namespace task
32 
33 #endif // !TASK_STRING_TASK_HH