-struct append_visitor : boost::static_visitor<void>
-{
- mutable std::shared_ptr<ModelAPI_AttributeRefAttrList> myAttribute;
-
- append_visitor(const std::shared_ptr<ModelAPI_AttributeRefAttrList> & theAttribute)
- : myAttribute(theAttribute) {}
-
- void operator()(const std::shared_ptr<ModelAPI_Attribute>& theValue) const { myAttribute->append(theValue); }
- void operator()(const std::shared_ptr<ModelAPI_Object>& theValue) const { myAttribute->append(theValue); }
-};
-