-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Polymorphic data members have a "{member}_as_kdsoap_value()" function, which lets you get the raw KDSoapValue that was received. If it was actually a derived type, you have to deserialize it yourself.
I propose automatically adding a helper function for each polymorphic data member, that looks like:
template
T dataMemberDeserializedAs() const {
T t;
t.deserialize(dataMember_as_kdsoap_value());
return t;
}
I would have implemented this myself. However, I'm couldn't see how to create template functions using libKODE.
Metadata
Metadata
Assignees
Labels
No labels