summaryrefslogtreecommitdiffstats
path: root/src/libs/client/ModelEngineInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/ModelEngineInterface.cpp')
-rw-r--r--src/libs/client/ModelEngineInterface.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libs/client/ModelEngineInterface.cpp b/src/libs/client/ModelEngineInterface.cpp
index 40de205c..a7c0df6a 100644
--- a/src/libs/client/ModelEngineInterface.cpp
+++ b/src/libs/client/ModelEngineInterface.cpp
@@ -63,6 +63,16 @@ ModelEngineInterface::create_patch_with_data(const Path& path, size_t poly, cons
}
+void
+ModelEngineInterface::create_port_with_data(const Path& path,
+ const string& data_type,
+ bool direction,
+ const MetadataMap& data)
+{
+ create_port(path, data_type, direction);
+ set_metadata_map(path, data);
+}
+
/** Set all pieces of metadata in a map.
*/
void