Ejemplo n.º 1
0
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);
}
Ejemplo n.º 2
0
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");
}
Ejemplo n.º 3
0
void Port::serialize(IvwSerializer& s) const {
    s.serialize("type", getClassIdentifier(), true);
    s.serialize("identifier", identifier_, true);
}
Ejemplo n.º 4
0
 virtual void serialize(IvwSerializer& s) const { s.serialize("classVariable", value_); }
Ejemplo n.º 5
0
void MouseEvent::serialize(IvwSerializer& s) const {
    InteractionEvent::serialize(s);
    s.serialize("button", button_);
    s.serialize("state", state_);
    s.serialize("wheelOrientation", wheelOrientation_);
}
Ejemplo n.º 6
0
void CompositeProperty::serialize(IvwSerializer& s) const{
    Property::serialize(s);
    PropertyOwner::serialize(s);
    s.serialize("collapsed", collapsed_);
}
Ejemplo n.º 7
0
void PropertySemantics::serialize(IvwSerializer& s) const {
    s.serialize("semantics", semantic_, true);
}
Ejemplo n.º 8
0
void TrackballAction::serialize(IvwSerializer& s) const {
    Action::serialize(s);
    s.serialize("action", name_);
}