Blame testing/025_example.cpp

Packit Service 50c9f2
// objective: test the \example command
Packit Service 50c9f2
// check: example_test_8cpp-example.xml
Packit Service 50c9f2
// check: class_test.xml
Packit Service 50c9f2
Packit Service 50c9f2
Packit Service 50c9f2
/** \brief A Test class.
Packit Service 50c9f2
 *
Packit Service 50c9f2
 *  More details about this class.
Packit Service 50c9f2
 */
Packit Service 50c9f2
class Test
Packit Service 50c9f2
{
Packit Service 50c9f2
  public:
Packit Service 50c9f2
    /** \brief An example member function.
Packit Service 50c9f2
     *
Packit Service 50c9f2
     *  More details about this function.
Packit Service 50c9f2
     */
Packit Service 50c9f2
    void example();
Packit Service 50c9f2
};
Packit Service 50c9f2
Packit Service 50c9f2
void Test::example() {}
Packit Service 50c9f2
Packit Service 50c9f2
/** \example example_test.cpp
Packit Service 50c9f2
 * This is an example of how to use the Test class.
Packit Service 50c9f2
 *
Packit Service 50c9f2
 * More details about this example.
Packit Service 50c9f2
 */