void Processor::serialize(IvwSerializer& s) const { s.serialize("type", getClassIdentifier(), true); s.serialize("identifier", identifier_, true); s.serialize("InteractonHandlers", interactionHandlers_, "InteractionHandler"); s.serialize("InPorts", inports_, "InPort"); s.serialize("OutPorts", outports_, "OutPort"); PropertyOwner::serialize(s); MetaDataOwner::serialize(s); }
void PropertyOwner::serialize(IvwSerializer& s) const { std::vector<Property*> props; std::copy_if(properties_.begin(), properties_.end(), std::back_inserter(props), [](Property* p) { return p->getSerializationMode() != PropertySerializationMode::NONE; }); s.serialize("Properties", props, "Property"); }
void Port::serialize(IvwSerializer& s) const { s.serialize("type", getClassIdentifier(), true); s.serialize("identifier", identifier_, true); }
virtual void serialize(IvwSerializer& s) const { s.serialize("classVariable", value_); }
void MouseEvent::serialize(IvwSerializer& s) const { InteractionEvent::serialize(s); s.serialize("button", button_); s.serialize("state", state_); s.serialize("wheelOrientation", wheelOrientation_); }
void CompositeProperty::serialize(IvwSerializer& s) const{ Property::serialize(s); PropertyOwner::serialize(s); s.serialize("collapsed", collapsed_); }
void PropertySemantics::serialize(IvwSerializer& s) const { s.serialize("semantics", semantic_, true); }
void TrackballAction::serialize(IvwSerializer& s) const { Action::serialize(s); s.serialize("action", name_); }