MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / serializeProperty

Function serializeProperty

IPL/src/IPLProcessProperty.cpp:81–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80template<class T>
81inline IPLProcessProperty::SerializedData serializeProperty(const char *type, IPLProcessWidgetType widget, const T &value)
82{
83 IPLProcessProperty::SerializedData result;
84 result.type = serializeValue(type);
85 result.widget = serializeValue(widget);
86 result.widgetName = serializeValue(widgetName(widget));
87 result.value = serializeValue(value);
88 return result;
89}
90
91inline void deserializeValue(const std::string &data, bool &value)
92{

Callers 1

serializeMethod · 0.85

Calls 2

serializeValueFunction · 0.85
widgetNameFunction · 0.85

Tested by

no test coverage detected