#pragma once #include namespace MyLibrary { enum Color { red, green, blue }; /** * @brief Example class to demonstrate the features of the custom CSS. * * @author jothepro * */ class Example { public: /** * @brief brief summary * * doxygen test documentation * * @param test this is the only parameter of this test function. It does nothing! * * # Supported elements * * These elements have been tested with the custom CSS. * * ## Tables * * The table content is scrollable if the table gets too wide. * * | first_column | second_column | third_column | fourth_column | fifth_column | sixth_column | seventh_column | eighth_column | ninth_column | * |--------------|---------------|--------------|---------------|--------------|--------------|----------------|---------------|--------------| * | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | * * A table can contain images: * * | Column 1 | Column 2 | * |---------------------------|-------------------------------------------------| * | ![doxygen](testimage.png) | ← the image should not be inverted in dark-mode | * * Complex [Doxygen tables](https://www.doxygen.nl/manual/tables.html) are also supported as seen in @ref multi_row "this example": * * * *
Complex table
Column 1 Column 2 Column 3 *
cell row=1+2,col=1cell row=1,col=2cell row=1,col=3 *
cell row=2+3,col=2 cell row=2,col=3 *
cell row=3,col=1 cell row=3+4,col=3 *
cell row=4,col=1+2 *
cell row=5,col=1 cell row=5,col=2+3 *
cell row=6+7,col=1+2 cell row=6,col=3 *
cell row=7,col=3 *
cell row=8,col=1 cell row=8,col=2\n * *
Inner cell row=1,col=1Inner cell row=1,col=2 *
Inner cell row=2,col=1Inner cell row=2,col=2 *
*
cell row=8,col=3 *
    *
  • Item 1 *
  • Item 2 *
*
* * ## Lists * * - element 1 * - element 2 * * 1. element 1 * ``` * code in lists * ``` * 2. element 2 * * ## Quotes * * > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt * > ut labore et dolore magna aliqua. Vitae proin sagittis nisl rhoncus mattis rhoncus urna neque viverra. * > Velit sed ullamcorper morbi tincidunt ornare. * > * > Lorem ipsum dolor sit amet consectetur adipiscing elit duis. * *- jothepro* * * ## Code block * * ```cpp * auto x = "code within md fences (```)"; * ``` * * @code{.cpp} * // code within @code block * while(true) { * auto example = std::make_shared(5); * example->test("test"); * } * * @endcode * * // code within indented code block * auto test = std::shared_ptr