]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
End of namespace modif. agy/NamespaceModif
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 20 Jan 2016 09:24:39 +0000 (10:24 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 20 Jan 2016 09:24:39 +0000 (10:24 +0100)
v8_work/ModifyNamespace.py

index d54ff8a77a58a8120d7fef62a86a18b652671b13..a5f738e441aba59ea3477ca2a5a021916bd78770 100644 (file)
@@ -1,5 +1,5 @@
 import os
-#rep=("namespace ParaMEDMEM","namespace MEDCoupling")
+rep=("namespace ParaMEDMEM","namespace MEDCoupling")
 rep=("ParaMEDMEM::","MEDCoupling::")
 #rep=("ParaMEDMEMImpl::","MEDCouplingImpl::")
 
@@ -27,14 +27,14 @@ def rep1(dirname,rep):
         i+=rep0(fi2,rep)
     return i
 
-dirs=["MEDCoupling","MEDCoupling/Test","MEDLoader","MEDLoader/Swig","MEDLoader/Test","MEDPartitioner","MEDPartitioner/Test","MEDPartitioner_Swig","RENUMBER","RENUMBER_Swig","INTERP_KERNELTest","ParaMEDMEM","ParaMEDLoader","ParaMEDMEMTest","ParaMEDMEM_Swig","doc/user/doxygen/fakesources","doc/user/doxygen/doxy2swig","doc/user/doxygen/doxfiles"]
+dirs=["MEDCoupling","MEDCoupling/Test","MEDLoader","MEDLoader/Swig","MEDLoader/Test","MEDPartitioner","MEDPartitioner/Test","MEDPartitioner_Swig","RENUMBER","RENUMBER_Swig","INTERP_KERNELTest","ParaMEDMEM","ParaMEDLoader","ParaMEDMEMTest","ParaMEDMEM_Swig","doc/user/doxygen/fakesources","doc/user/doxygen/doxy2swig","doc/user/doxygen/doxfiles","/home/H87074/salome/DEV/modules/src/MED/src/MEDCouplingCorba","/home/H87074/salome/DEV/modules/src/MED/src/MEDCouplingCorba/Client","/home/H87074/salome/DEV/modules/src/MED/src/MEDCouplingCorba/Test","/home/H87074/salome/DEV/modules/src/MED/src/MEDCalc/cmp","/home/H87074/salome/DEV/modules/src/MED/src/MEDCalculator","/home/H87074/salome/DEV/modules/src/MED/src/MEDCalculator/Swig","/home/H87074/salome/DEV/modules/src/MED/src/MEDCalculator/Test","/home/H87074/salome/DEV/modules/src/PARAVIS/src/Plugins/MEDReader/IO"]
 dirname=dirs[-1]
 i=0
-
-for r,dirs,fis in os.walk(dirname):
+print rep1(dirname,rep)
+"""for r,dirs,fis in os.walk(dirname):
     for fi in fis:
         if os.path.splitext(fi)[1] not in [".dox",".doxy"]:
             continue
         i+=rep0(os.path.join(r,fi),rep)
 
-print i
+print i"""