Blame examples/include.cpp
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! A test class. */
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
class Include_Test
|
|
Packit |
1c1d7e |
{
|
|
Packit |
1c1d7e |
public:
|
|
Packit |
1c1d7e |
/// a member function
|
|
Packit |
1c1d7e |
void example();
|
|
Packit |
1c1d7e |
};
|
|
Packit |
1c1d7e |
|
|
Packit |
1c1d7e |
/*! \page example
|
|
Packit |
1c1d7e |
* \dontinclude include_test.cpp
|
|
Packit |
1c1d7e |
* Our main function starts like this:
|
|
Packit |
1c1d7e |
* \skip main
|
|
Packit |
1c1d7e |
* \until {
|
|
Packit |
1c1d7e |
* First we create an object \c t of the Include_Test class.
|
|
Packit |
1c1d7e |
* \skipline Include_Test
|
|
Packit |
1c1d7e |
* Then we call the example member function
|
|
Packit |
1c1d7e |
* \line example
|
|
Packit |
1c1d7e |
* After that our little test routine ends.
|
|
Packit |
1c1d7e |
* \line }
|
|
Packit |
1c1d7e |
*/
|