- switch(i)
- {
- case 0: return _("LHS");
- case 1: return _("RHS");
- }
- return String();
-}
-
-int
-ValueNode_DotProduct::get_link_index_from_name(const String &name)const
-{
- if (name=="lhs") return 0;
- if (name=="rhs") return 1;
-
- throw Exception::BadLinkName(name);
-}
+ ret.push_back(ParamDesc(ValueBase(),"rhs")
+ .set_local_name(_("RHS"))
+ .set_description(_("The right side of the dot product"))
+ );