]> Creatis software - clitk.git/blob - vv/make_vv_class.sh
Fusion windows level is now 4 decimals
[clitk.git] / vv / make_vv_class.sh
1 #!/bin/bash
2 if [ -z "$1" ]
3 then
4     echo "Usage: make_vv_class.sh classname"
5     exit 1
6 fi
7 if [ -e vv"$1".cxx ]
8 then
9     echo "Error:  vv$1.cxx already exists classname"
10     exit 1
11 fi
12
13 cp vvTemplateFile.cxx vv$1.cxx
14 cp vvTemplateFile.h vv$1.h
15 sed -i "s/XXX/$1/g" vv$1.*