Salome HOME
d33878c632a871ce3ce9f02f003d99c873aba444
[modules/shaper.git] / src / Config / ConfigAPI.i
1 // Copyright (C) 2014-2023  CEA, EDF
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 /* Config.i */
21
22 %module ConfigAPI
23 %{
24   #include "Config_swig.h"
25 %}
26
27 // to avoid error on this
28 #define CONFIG_EXPORT
29
30 %include "typemaps.i"
31 %include "std_list.i"
32 %include "std_string.i"
33 %include "std_vector.i"
34
35 %include "Config_ModuleReader.h"
36 %include "Config_PropManager.h"
37 %include "Config_Prop.h"
38 %include "Config_ValidatorReader.h"
39 %include "Config_XMLReader.h"
40
41 // std::list -> []
42 %template(ListOfString) std::list< std::string >;
43 %template(listOfProp) std::list< Config_Prop* >;
44 // std::vector -> []
45 %template(VectorOfInteger) std::vector<int>;