From: nadir Date: Wed, 21 Sep 2005 14:22:17 +0000 (+0000) Subject: correcting those C++ program to make them work on this Med Memory version. Those... X-Git-Tag: For_V3_0_3_a2^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=85afae2e1c3b7d9dbdca71dacadc893a33957a12;p=tools%2Fmedcoupling.git correcting those C++ program to make them work on this Med Memory version. Those program would be imput in the Med Memory Documentation. --- diff --git a/doc/MEDMEM/FIELDcreate.cxx b/doc/MEDMEM/FIELDcreate.cxx index e94b17b78..d8375e073 100644 --- a/doc/MEDMEM/FIELDcreate.cxx +++ b/doc/MEDMEM/FIELDcreate.cxx @@ -3,6 +3,7 @@ using namespace std; #include "MEDMEM_Field.hxx" using namespace MEDMEM; +using namespace MED_EN ; int main (int argc, char ** argv) { diff --git a/doc/MEDMEM/FIELDgeneral.cxx b/doc/MEDMEM/FIELDgeneral.cxx index 120cef911..18c021037 100644 --- a/doc/MEDMEM/FIELDgeneral.cxx +++ b/doc/MEDMEM/FIELDgeneral.cxx @@ -3,6 +3,7 @@ using namespace std; #include "MEDMEM_Field.hxx" using namespace MEDMEM; +using namespace MED_EN ; int main (int argc, char ** argv) { diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx b/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx index fca94088d..b7017228d 100644 --- a/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx +++ b/doc/MEDMEM/MEDMEM_InvokingDriverAtObjectCreationTime.cxx @@ -5,6 +5,9 @@ #include "MEDMEM_Mesh.hxx" #include "MEDMEM_Med.hxx" +using namespace MEDMEM ; +using namespace MED_EN ; + main () { const char * fileName = "pointe.med"; diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx b/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx index b8c110ad2..e90b6030a 100644 --- a/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx +++ b/doc/MEDMEM/MEDMEM_InvokingDriverByAttachingItToAnObject.cxx @@ -4,6 +4,11 @@ #include "MEDMEM_Field.hxx" #include "MEDMEM_Mesh.hxx" #include "MEDMEM_Med.hxx" +#include "MEDMEM_MedMedDriver.hxx" +#include "MEDMEM_MedMeshDriver.hxx" + +using namespace MEDMEM ; +using namespace MED_EN ; main () { diff --git a/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx b/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx index 87ed74393..270eacbc2 100644 --- a/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx +++ b/doc/MEDMEM/MEDMEM_InvokingDriverFromStandardObjectMethod.cxx @@ -5,6 +5,9 @@ #include "MEDMEM_Mesh.hxx" #include "MEDMEM_Med.hxx" +using namespace MEDMEM ; +using namespace MED_EN ; + main () { const char * fileName = "pointe.med"; diff --git a/doc/MEDMEM/MESHINGexample.cxx b/doc/MEDMEM/MESHINGexample.cxx index 2ec7a16ee..07c943a02 100644 --- a/doc/MEDMEM/MESHINGexample.cxx +++ b/doc/MEDMEM/MESHINGexample.cxx @@ -1,6 +1,9 @@ #include "MEDMEM_Meshing.hxx" #include "MEDMEM_Group.hxx" +using namespace MEDMEM ; +using namespace MED_EN ; + using namespace std; int main (int argc, char ** argv) { diff --git a/doc/MEDMEM/MESHconnectivities.cxx b/doc/MEDMEM/MESHconnectivities.cxx index 2964ff9f8..6a0f40cfe 100644 --- a/doc/MEDMEM/MESHconnectivities.cxx +++ b/doc/MEDMEM/MESHconnectivities.cxx @@ -1,6 +1,9 @@ #include "MEDMEM_Mesh.hxx" #include "MEDMEM_CellModel.hxx" +using namespace MEDMEM ; +using namespace MED_EN ; + int main (int argc, char ** argv) { const string MedFile = "pointe.med" ; diff --git a/doc/MEDMEM/MESHcoordinates.cxx b/doc/MEDMEM/MESHcoordinates.cxx index 18edd0328..e52eaaa00 100644 --- a/doc/MEDMEM/MESHcoordinates.cxx +++ b/doc/MEDMEM/MESHcoordinates.cxx @@ -1,5 +1,8 @@ #include "MEDMEM_Mesh.hxx" +using namespace MEDMEM ; +using namespace MED_EN ; + int main (int argc, char ** argv) { const string MedFile = "pointe.med" ;