]> SALOME platform Git repositories - tools/hxx2salome.git/commitdiff
Salome HOME
ajout filtre sur MEDMEM_EXPORT et virtual
authorcrouzet <crouzet>
Tue, 23 Feb 2010 14:08:56 +0000 (14:08 +0000)
committercrouzet <crouzet>
Tue, 23 Feb 2010 14:08:56 +0000 (14:08 +0000)
scripts/hxx2salome

index 13c50bee0934c95bf25b4434c33cde56111a6d55..55052993ab145402cecfd649f33efa859c17f6ae 100755 (executable)
@@ -165,7 +165,7 @@ generate_module_source()
 #
     echo -e "\n-> Extract public functions\n"
     # we get first rid of the c like comments (parse01), then of the excetion specification (sed filter), finnaly we extract public functions (parse1)
-    cat ${hxx_file} | awk -f ${gene_dir}/parse01.awk | sed 's/throw.*;/;/g' | awk -f ${gene_dir}/parse1.awk > ${CLASS_NAME}_public_functions
+    cat ${hxx_file} | awk -f ${gene_dir}/parse01.awk | sed 's/virtual //g' | sed 's/MEDMEM_EXPORT//g' | sed 's/throw.*;/;/g' | awk -f ${gene_dir}/parse1.awk > ${CLASS_NAME}_public_functions
     cat ${CLASS_NAME}_public_functions
     if [ ! -s ${CLASS_NAME}_public_functions ]
     then