summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/task/task.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'tiger-compiler/src/task/task.hxx')
-rw-r--r--tiger-compiler/src/task/task.hxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/tiger-compiler/src/task/task.hxx b/tiger-compiler/src/task/task.hxx
new file mode 100644
index 0000000..02fad0e
--- /dev/null
+++ b/tiger-compiler/src/task/task.hxx
@@ -0,0 +1,24 @@
+/**
+ ** \file task/task.hxx
+ ** \brief Inline methods for task/task.hh.
+ */
+#pragma once
+
+#include <task/task.hh>
+
+namespace task
+{
+ inline const char* Task::name_get() const { return name_.c_str(); }
+
+ inline const char* Task::module_name_get() const { return module_name_; }
+
+ inline const char* Task::fullname_get() const { return fullname_.c_str(); }
+
+ inline const char* Task::desc_get() const { return desc_; }
+
+ inline const Task::deps_type& Task::dependencies_get() const
+ {
+ return dependencies_;
+ }
+
+} // namespace task