Class documentation of Concepts

Loading...
Searching...
No Matches
developing.doxy
1
50 namespace hp3Dedge {
51 // leave this empty, just for documentation
52 } @endverbatim
53
54 Then, you need to modify the top level <tt>Jamfile</tt>
55 and register the new project there. Ie., you have to add the name
56 of the project with <tt>build-project</tt>.
57
58 @subsubsection file-cont Contents of a Jamfile
59
60 A <tt>Jamfile</tt> holds the following information:
61
62 - <tt>project</tt>:
63 The name of the project. This is identical with the name of the
64 subdirectory.
65 - <tt>usage-requirements</tt>:
66 The names of the projects on which the current project depends (on
67 the linking level, source level dependencies [<tt>#include</tt>] is
68 handled automatically).
69 - <tt>SOURCES</tt>, <tt>lib</tt>
70 <tt>exe</tt>, <tt>obj</tt>, <tt>unit-test</tt>:
71 The files which are built in this project.
72
73 <b>Examples</b> can be found in <tt>geometry</tt>
74 for a normal project and <tt>applications</tt>
75 for the applications project.
76
77 @section building Building Concepts
78
79 Changing into any source directory (or staying in the top level directory)
80 and calling <tt>bjam</tt> should build the library and the
81 executables. If you want to rebuild a subpart, you can
82 issue <tt>bjam</tt> in its subdirectory again.
83
84 @section cvs Version Managment with CVS
85
86 Documentation on CVS can be found
87 <a href="http://www.loria.fr/~molli/cvs/doc/cvs_toc.html">here</a>
88 and <a href="http://www.cvshome.org/docs/manual/">there</a>.
89
90 @subsection obtain Obtaining Concepts
91
92 Checking out Concepts from CVS is as simple as this:
93 @verbatim setenv CVSROOT /u/users/concepts/cvsroot
94 cvs checkout concepts-2 @endverbatim
95 When you already have a version of Concepts-2 and want to update
96 to the most recent version, just type
97 @verbatim cvs update -dP @endverbatim
98 in the <tt>concepts-2</tt> subdirectory. This is also a good
99 method to find out which files where changed by you (they are
100 marked with a "M"). Other marks which could show up are described
101 <a href="http://www.loria.fr/~molli/cvs/doc/cvs_16.html#SEC150">here</a>
102 and
103 <a href="http://www.cvshome.org/docs/manual/cvs_16.html#SEC152">there</a>.
104
105 @subsection commit Giving Back Changes
106
107 When you have changed some files and want to give the changes
108 back, you have to "commit" them using the <tt>cvs commit</tt> command:
109 @verbatim cvs commit -m "Added anistropic polynomial degree" element.hh @endverbatim
110 If you have a somewhat longer comment use <tt>cvs commit</tt>
111 without the <tt>-m "message"</tt> and and an editor will be opened
112 where you can enter your message.
113
114 If you want to check what your changes where, use
115 @verbatim cvs diff -u element.hh @endverbatim
116 before using the <tt>commit</tt> command. This will show you the
117 changes of your local copy with respect to the current copy in the
118 repository.
119
120 You can also check the previous log messages with
121 @verbatim cvs log element.hh @endverbatim
122 It is good practice to do an update before trying to give back
123 changes.
124
125 @subsection reg-cvs Registering New Files
126
127 When you created a new file, then you first need to add this file
128 to the repository using
129 @verbatim cvs add -m "Abstract base classes for elements" element.hh @endverbatim
130 The message is a general description of the file. After this, you
131 can commit the new file using the <tt>cvs commit</tt> command.
132
133 Registering a new directory is even easier: it suffices to issue
134 the <tt>cvs add</tt> command to create a new directory in the CVS
135 repository.
136
137 @section documentation Enhance this Documentation
138
139 The whole documentation is done using
140 <a href="http://www.stack.nl/~dimitri/doxygen/">Doxygen</a>. General
141 pages are in the \c doc directory, the pages for the tutorials are
142 in the \c applications directory: \c file.doxy contains the
143 documentation for \c file.cc. The classes are documented right in
144 the source files using special Doxygen-style comments.
145
146 To generate the documentation in \c concepts-2/doc/doxygen/html
147 use the command
148 @verbatim make -C $CONCEPTSDIR doxygen @endverbatim
149 and to generate and install the documentation, use
150 @verbatim make -C $CONCEPTSDIR html-install DEST=~concepts/www @endverbatim
151
152 @author Philipp Frauenfelder, 2004
153*/