diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-08 18:45:22 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-01-08 18:45:22 (GMT) |
commit | 08c27fdc4cffa3a30d3d2e2b9ea447146aad25ce (patch) | |
tree | 19ee7c7b1da8879d93d5efc185f4a25ecbf04c5a /testing/081_extract_private_virtual.cpp | |
parent | d2a39613ba6ff8780eeeb5550598190efa178ebc (diff) | |
parent | d18b3eaf3486e224fa9de7e77b536883952b40b9 (diff) | |
download | Doxygen-08c27fdc4cffa3a30d3d2e2b9ea447146aad25ce.zip Doxygen-08c27fdc4cffa3a30d3d2e2b9ea447146aad25ce.tar.gz Doxygen-08c27fdc4cffa3a30d3d2e2b9ea447146aad25ce.tar.bz2 |
Merge branch 'extract-private-virtual' of https://github.com/mosra/doxygen into mosra-extract-private-virtual
Diffstat (limited to 'testing/081_extract_private_virtual.cpp')
-rw-r--r-- | testing/081_extract_private_virtual.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/081_extract_private_virtual.cpp b/testing/081_extract_private_virtual.cpp new file mode 100644 index 0000000..ce4ed30 --- /dev/null +++ b/testing/081_extract_private_virtual.cpp @@ -0,0 +1,35 @@ +// objective: allow linking to private virtual functions +// check: class_interface.xml +// config: EXTRACT_PRIVATE_VIRTUAL = YES + +/** @brief An interface */ +class Interface { + public: + /** + * @brief Load things. + * + * Calls @ref doLoad(). + */ + void load(); + + private: + /** + * @brief Pure virtual implementation for @ref load() + * + * Details. + */ + virtual void doLoad() = 0; + + /** + * @brief Non-pure virtual function + * + * Details. + */ + virtual void doOtherStuff(); + + /* Undocumented, should not appear in the docs */ + virtual void doSomethingUndocumented(); + + /** @brief A non-virtual private function, not extracted */ + void someUtility(); +}; |