diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-01-06 20:54:16 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-01-06 20:54:16 (GMT) |
commit | be32faf9e70cecf7583687c1ce875071abd99005 (patch) | |
tree | b008f56412d0734ea397eb4492ddd66c08677dff /doc/faq.doc | |
parent | ee8c5a59f9dce7e770d315f08af410b1ac5ab9c4 (diff) | |
download | Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.zip Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.tar.gz Doxygen-be32faf9e70cecf7583687c1ce875071abd99005.tar.bz2 |
Release-1.3-rc2-20030106
Diffstat (limited to 'doc/faq.doc')
-rw-r--r-- | doc/faq.doc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/faq.doc b/doc/faq.doc index 576daaf..836da50 100644 --- a/doc/faq.doc +++ b/doc/faq.doc @@ -222,6 +222,42 @@ should send me a code fragment that triggers the message. The workaround the problem put some line-breaks into your file, split it up into smaller parts, or exclude it from the input using EXCLUDE. +<li><b>Why are dependencies via STL classes not shown in the dot graphs?</b> + +Doxygen is unware of the STL classes, so it does not know that class A relates +to class B in the following example + +\code +#include <vector> + +using namespace std; + +class B {}; + +class A +{ + public: + vector<B> m_bvec; +}; +\endcode + +To overcome this problem you could provide the definition of the vector +class to doxygen (by including the file that defines it at the INPUT tag +in the config file). Since STL header files are often messy, a +(possibly) better approach is to include a dummy definition of a vector +class to the input. Here is an example of a dummy STL file for the vector +class: + +\code +namespace std { + /*! STL vector class */ + template<class T> class vector { public: T element; }; +} +\endcode + +I'm still looking for someone who can provide me with definitions +for all (relevant) STL classes. + <li><b>How did doxygen get its name?</b> Doxygen got its name from playing with the words |