X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelHighAPI%2FModelHighAPI.i;h=5b09cc980fab7b581f1dc1a2198e3b87829d075f;hb=e675b9eb8df755fff9763560ddf36d5bfeb6fe35;hp=e7b448bc39d2453618b32173645607a3ce7551b1;hpb=81cc2c23e3109a51d178e63fe5b8a0a4625287b6;p=modules%2Fshaper.git diff --git a/src/ModelHighAPI/ModelHighAPI.i b/src/ModelHighAPI/ModelHighAPI.i index e7b448bc3..5b09cc980 100644 --- a/src/ModelHighAPI/ModelHighAPI.i +++ b/src/ModelHighAPI/ModelHighAPI.i @@ -1,3 +1,23 @@ +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// + /* ModelHighAPI.i */ %module(directors="1") ModelHighAPI %feature("director:except") { @@ -28,6 +48,7 @@ // standard definitions %include "typemaps.i" %include "std_list.i" +%include "std_pair.i" %include "std_string.i" %include "std_shared_ptr.i" @@ -216,8 +237,11 @@ %template(RefAttrList) std::list; %template(RefList) std::list; +// std::pair -> [] +%template(ResultSubShapePair) std::pair, std::shared_ptr >; + -// fix compilarion error: ‘res*’ was not declared in this scope +// fix compilarion error: 'res*' was not declared in this scope %typemap(freearg) const std::list & {} %typemap(freearg) const std::list > & {}