aboutsummaryrefslogtreecommitdiff
path: root/core/src/Model/Workflow/Value_Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/Model/Workflow/Value_Main.cpp')
-rw-r--r--core/src/Model/Workflow/Value_Main.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/src/Model/Workflow/Value_Main.cpp b/core/src/Model/Workflow/Value_Main.cpp
index fdd2fd5..ca972c4 100644
--- a/core/src/Model/Workflow/Value_Main.cpp
+++ b/core/src/Model/Workflow/Value_Main.cpp
@@ -22,3 +22,14 @@ void BaseValue::ReadFrom(std::istream& stream)
void BaseValue::WriteTo(std::ostream& stream)
{
}
+
+BaseObjectValue::BaseObjectValue(Kind kind)
+ : BaseValue(kind)
+{
+ assert(kind >= KD_BaseObject && kind <= KD_BaseObjectLast);
+}
+
+const BaseObjectDescription& BaseObjectValue::GetObjectDescription() const
+{
+ return QueryObjectInfo(this->GetKind());
+}