Last change
on this file since 117 was
117,
checked in by moretto, 11 years ago
|
ESAF version compilable on mac OS
|
File size:
1.3 KB
|
Line | |
---|
1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
2 | %% Appendix |
---|
3 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
---|
4 | |
---|
5 | %------------------------------------------------------------------------------ |
---|
6 | \section{CreateNewClass script} |
---|
7 | %------------------------------------------------------------------------------ |
---|
8 | |
---|
9 | \texttt{CreateNewClass.pl} is a perl script to create empty class files based on ESAF class structure. |
---|
10 | |
---|
11 | \begin{displaycode} |
---|
12 | Usage: CreateNewClass.pl -n name [-s] [-u username] [-p parent] |
---|
13 | |
---|
14 | -n The name of the class. |
---|
15 | -s Create a singleton. |
---|
16 | -u Include the author name in the class header. |
---|
17 | -p Specify class parent if exists. |
---|
18 | \end{displaycode} |
---|
19 | |
---|
20 | Each library is contained in a directory with two subdirectories, \path{include} and \path{src} |
---|
21 | To add a new class to a library, go to the library directory and execute \texttt{CreateNewClass.pl}. |
---|
22 | |
---|
23 | \texttt{ClassName.hh} and \texttt{ClassName.cc} will be created in \path{include/} and \path{src/} subdirectories of the current directory. |
---|
24 | \path{esaf/packages/tools} |
---|
25 | |
---|
26 | \begin{displaycode} |
---|
27 | [ale]: CreateNewClass.pl |
---|
28 | \end{displaycode} |
---|
29 | |
---|
30 | |
---|
31 | %------------------------------------------------------------------------------ |
---|
32 | \section{CreateNewLib script} |
---|
33 | %------------------------------------------------------------------------------ |
---|
34 | |
---|
35 | \TODO |
---|
Note: See
TracBrowser
for help on using the repository browser.