0024023: Revamp the OCCT Handle -- ambiguity
[occt.git] / src / DrawTrSurf / DrawTrSurf.cdl
index e60ccaf..3fe17e1 100644 (file)
@@ -96,6 +96,7 @@ is
        --          variable if already set.
   --          isSenseMarker indicates whether to render the
   --          sense glyph (arrow) for curves or not
+    ---C++: alias "template <class T> static void Set (const Standard_CString Name, const Handle(T)& Arg, typename std::enable_if<std::is_base_of<Geom_Geometry, T>::value>::type * = 0) { Set (Name, (const Handle(Geom_Geometry)&)Arg); };"
     
     Set(Name : CString; C : Curve from Geom2d;
         isSenseMarker : Boolean = Standard_True);
@@ -103,6 +104,7 @@ is
        --          variable if already set.
   --          isSenseMarker indicates whether to render the
   --          sense glyph (arrow) for curves or not
+       ---C++: alias "template <class T> static void Set (const Standard_CString Name, const Handle(T)& Arg, typename std::enable_if<std::is_base_of<Geom2d_Curve, T>::value>::type * = 0) { Set (Name, (const Handle(Geom2d_Curve)&)Arg); }"
     
     Set(Name : CString; T : Triangulation from Poly);
        ---Purpose: Sets <T> in the variable <Name>.  Overwrite the