Bump to doxygen 1.9.2
[platform/upstream/doxygen.git] / testing / 080_extract_private_virtual.cpp
1 // objective: allow linking to private virtual functions
2 // check: class_interface.xml
3 // config: EXTRACT_PRIV_VIRTUAL = YES
4
5 /** @brief An interface */
6 class Interface {
7   public:
8     /**
9      * @brief Load things.
10      *
11      * Calls @ref doLoad().
12      */
13     void load();
14
15   private:
16     /**
17      * @brief Pure virtual implementation for @ref load()
18      *
19      * Details.
20      */
21     virtual void doLoad() = 0;
22
23     /**
24      * @brief Non-pure virtual function
25      *
26      * Details.
27      */
28     virtual void doOtherStuff();
29
30     /* Undocumented, should not appear in the docs */
31     virtual void doSomethingUndocumented();
32
33     /** @brief A non-virtual private function, not extracted */
34     void someUtility();
35 };