From: crouzet Date: Fri, 5 Dec 2008 10:34:45 +0000 (+0000) Subject: ajout header copyright X-Git-Tag: V4_1_4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FV4_1_5_BR;p=tools%2Fhxx2salome.git ajout header copyright --- diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 85f034f..02dcd78 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -1,4 +1,7 @@ - +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- bin_SCRIPTS = hxx2salome \ parse01.awk \ parse0.awk \ diff --git a/scripts/SA_build b/scripts/SA_build index f4238fa..6b139bc 100755 --- a/scripts/SA_build +++ b/scripts/SA_build @@ -1,5 +1,10 @@ #!/bin/bash # +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- +# # Utility for building Salome Modules # # default directory containing sources. Look-up is performed first localy, then in this directory if present. diff --git a/scripts/SA_new_cpp_component b/scripts/SA_new_cpp_component index e8ef4e0..12ca2e4 100755 --- a/scripts/SA_new_cpp_component +++ b/scripts/SA_new_cpp_component @@ -1,4 +1,8 @@ #!/bin/bash +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- usage() { diff --git a/scripts/hxx2salome b/scripts/hxx2salome index c8a7507..25f0bf5 100755 --- a/scripts/hxx2salome +++ b/scripts/hxx2salome @@ -1,5 +1,9 @@ #!/bin/bash # +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- # # salome2 environment file (.bash or .sh) - can also be specified with -e option ENVIRON_FILE= diff --git a/scripts/parse0.awk b/scripts/parse0.awk index ae194f4..c77dd1c 100644 --- a/scripts/parse0.awk +++ b/scripts/parse0.awk @@ -1,4 +1,8 @@ # This awk program suppresses inline functions - but it doen't work if there is no inline function... Not used yet. +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- BEGIN { RS="\f"} { gsub(/{[^{}]*}[ \t]*;?/,";");print } diff --git a/scripts/parse01.awk b/scripts/parse01.awk index 8bec017..533a87a 100644 --- a/scripts/parse01.awk +++ b/scripts/parse01.awk @@ -1,4 +1,8 @@ # This awk program deletes C like comments '*/ ... /*' +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- { if (t = index($0, "/*")) { if (t > 1) diff --git a/scripts/parse1.awk b/scripts/parse1.awk index 8d688d2..fc3907f 100644 --- a/scripts/parse1.awk +++ b/scripts/parse1.awk @@ -1,4 +1,8 @@ # This awk program extract public functions of the class definition present in hxx interface +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- BEGIN { public=0 } diff --git a/scripts/parse2.awk b/scripts/parse2.awk index 2ecc2c7..576efcd 100644 --- a/scripts/parse2.awk +++ b/scripts/parse2.awk @@ -1,4 +1,8 @@ # suppress blanks between type and indirection or reference operators (* and &) +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- { gsub(/[ \t]+&/,"\\& ") gsub(/[ \t]+\*/,"* ") print $0 } diff --git a/scripts/parse3.awk b/scripts/parse3.awk index 9d594d7..0af6457 100644 --- a/scripts/parse3.awk +++ b/scripts/parse3.awk @@ -1,4 +1,8 @@ # This awk program contains the type mapping tables - and the treatments +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- # for code generation # BEGIN { diff --git a/scripts/renameSalomeModule b/scripts/renameSalomeModule index 8e9ab33..0802ee0 100755 --- a/scripts/renameSalomeModule +++ b/scripts/renameSalomeModule @@ -1,4 +1,8 @@ #!/bin/bash +# -- +# Copyright (C) CEA, EDF +# Author : Nicolas Crouzet (CEA) +# -- usage() { diff --git a/src/main.cpp b/src/main.cpp index d6809f9..c801e8e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,7 @@ - +// -- +// Copyright (C) CEA, EDF +// Author : Marc Tajchman (CEA) +// -- #include #include "hxx2salome.h"