Salome HOME
Merge from BR_V7_main_Field branch (02/09/2013)
[modules/geom.git] / src / XAO_Swig / xao.i
1 %module xao
2 %{
3 #include "XAO_Exception.hxx"
4 #include "XAO_XaoUtils.hxx"
5 #include "XAO_Xao.hxx"
6 #include "XAO_GeometricElement.hxx"
7 #include "XAO_Geometry.hxx"
8 #include "XAO_BrepGeometry.hxx"
9 #include "XAO_Group.hxx"
10 #include "XAO_Field.hxx"
11 #include "XAO_Step.hxx"
12 #include "XAO_BooleanField.hxx"
13 #include "XAO_DoubleField.hxx"
14 #include "XAO_IntegerField.hxx"
15 #include "XAO_StringField.hxx"
16 #include "XAO_BooleanStep.hxx"
17 #include "XAO_DoubleStep.hxx"
18 #include "XAO_IntegerStep.hxx"
19 #include "XAO_StringStep.hxx"
20 %}
21
22 %include "std_string.i"
23 %include "std_vector.i"
24 %include "std_list.i"
25 %include "std_map.i"
26 %include "std_set.i"
27 %include "exception.i"
28 namespace std
29 {
30 %template(ListGroup)    list<XAO::Group*>;
31 %template(ListField)    list<XAO::Field*>;
32 %template(VectorStep)   vector<XAO::Step*>;
33 %template(SetInt)       set<int>;
34
35 %template(VectorBoolean)    vector<bool>;
36 %template(VectorInteger)    vector<int>;
37 %template(VectorDouble)     vector<double>;
38 %template(VectorString)     vector<string>;
39
40 %template(VectorVectorBoolean)  vector< vector<bool> >;
41 %template(VectorVectorInteger)  vector< vector<int> >;
42 %template(VectorVectorDouble)   vector< vector<double> >;
43 %template(VectorVectorString)   vector< vector<string> >;
44 }
45
46 %ignore XAO::Xao::addField;
47 %ignore XAO::Xao::getField;
48 %ignore XAO::MsgBuilder;
49 %ignore XAO::XaoUtils;
50
51 %include XAO_Exception.hxx
52 %include XAO_XaoUtils.hxx
53
54 %include XAO_Step.hxx
55 %include XAO_BooleanStep.hxx
56 %include XAO_DoubleStep.hxx
57 %include XAO_IntegerStep.hxx
58 %include XAO_StringStep.hxx
59
60 %include XAO_Field.hxx
61 %include XAO_BooleanField.hxx
62 %include XAO_DoubleField.hxx
63 %include XAO_IntegerField.hxx
64 %include XAO_StringField.hxx
65
66 %include XAO_Group.hxx
67
68 %include XAO_GeometricElement.hxx
69 %include XAO_Geometry.hxx
70 %include XAO_BrepGeometry.hxx
71 %include XAO_Xao.hxx
72