/usr/include/openturns/swig/DrawableImplementation.i is in libopenturns-dev 1.9-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | // SWIG file DrawableImplementation.i
%{
#include "openturns/DrawableImplementation.hxx"
%}
%include DrawableImplementation_doc.i
%include openturns/DrawableImplementation.hxx
%pythoncode %{
def DrawableImplementation__repr_svg_(self):
"""Get the SVG representation."""
from .viewer import ToSVGString
return ToSVGString(self)
DrawableImplementation._repr_svg_ = DrawableImplementation__repr_svg_
def DrawableImplementation__repr_html_(self):
"""Get the HTML representation."""
raise NotImplementedError
DrawableImplementation._repr_html_ = DrawableImplementation__repr_html_
%}
namespace OT { %extend DrawableImplementation { DrawableImplementation(const DrawableImplementation & other) { return new OT::DrawableImplementation(other); } } }
|