Doxygen 成员变量的呈现方式
Doxygen manner of presentation member variables
如何改变图表上的氧气:
要在第二个空字段中包含成员变量?
编辑:
继承图还可以,只是协作有问题
Doxygen 版本:1.8.17
Doxy文件:
# Difference with default Doxyfile 1.8.17
PROJECT_NUMBER = Beta
PROJECT_BRIEF = Game
FULL_PATH_NAMES = NO
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_PRIV_VIRTUAL = YES
EXTRACT_PACKAGE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_METHODS = YES
EXTRACT_ANON_NSPACES = YES
CASE_SENSE_NAMES = NO
SHOW_USED_FILES = NO
INPUT = /home/adrian/Dokumenty/eclipse/0_FULL_GAME/headers
DISABLE_INDEX = YES
GENERATE_TREEVIEW = YES
LATEX_SOURCE_CODE = YES
HIDE_UNDOC_RELATIONS = NO
UML_LOOK = YES
UML_LIMIT_NUM_FIELDS = 50
TEMPLATE_RELATIONS = YES
CALL_GRAPH = YES
CALLER_GRAPH = YES
INTERACTIVE_SVG = YES
DOT_GRAPH_MAX_NODES = 100
DOT_TRANSPARENT = YES
可能每个代码都会发生这种情况,例如:
class MyClass
{
private:
float number;
string string;
public:
float getNumber();
};
确保 the UML_LOOK
tag 设置为 YES
:
UML_LOOK
If the UML_LOOK
tag is set to YES
, doxygen will generate
inheritance and collaboration diagrams in a style similar to the OMG's
Unified Modeling Language.
The default value is: NO
.
This tag requires that the tag HAVE_DOT
is set to YES.
UML_LIMIT_NUM_FIELDS
If the UML_LOOK tag is enabled, the fields and methods are shown
inside the class node. [...]
还要确保(如上文 UML_LOOK
的要求所述)您需要将 the HAVE_DOT
tag 设置为 YES
(并且自然地从路径中获得点工具) .
HAVE_DOT
If you set the HAVE_DOT
tag to YES
then doxygen will assume the
dot tool is available from the path. This tool is part of Graphviz,
a graph visualization toolkit from AT&T and Lucent Bell Labs. The
other options in this section have no effect if this option is set to
NO
The default value is: NO
.
我找到了,我不得不将 HIDE_UNDOC_RELATIONS
设置为 YES
。
F 从文档:
HIDE_UNDOC_RELATIONS
If set to YES the inheritance and collaboration graphs will hide inheritance and usage relations if the target is undocumented or is not a class.
The default value is: YES.
如何改变图表上的氧气:
要在第二个空字段中包含成员变量?
编辑:
继承图还可以,只是协作有问题
Doxygen 版本:1.8.17
Doxy文件:
# Difference with default Doxyfile 1.8.17
PROJECT_NUMBER = Beta
PROJECT_BRIEF = Game
FULL_PATH_NAMES = NO
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_PRIV_VIRTUAL = YES
EXTRACT_PACKAGE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_METHODS = YES
EXTRACT_ANON_NSPACES = YES
CASE_SENSE_NAMES = NO
SHOW_USED_FILES = NO
INPUT = /home/adrian/Dokumenty/eclipse/0_FULL_GAME/headers
DISABLE_INDEX = YES
GENERATE_TREEVIEW = YES
LATEX_SOURCE_CODE = YES
HIDE_UNDOC_RELATIONS = NO
UML_LOOK = YES
UML_LIMIT_NUM_FIELDS = 50
TEMPLATE_RELATIONS = YES
CALL_GRAPH = YES
CALLER_GRAPH = YES
INTERACTIVE_SVG = YES
DOT_GRAPH_MAX_NODES = 100
DOT_TRANSPARENT = YES
可能每个代码都会发生这种情况,例如:
class MyClass
{
private:
float number;
string string;
public:
float getNumber();
};
确保 the UML_LOOK
tag 设置为 YES
:
UML_LOOK
If the
UML_LOOK
tag is set toYES
, doxygen will generate inheritance and collaboration diagrams in a style similar to the OMG's Unified Modeling Language.The default value is:
NO
.This tag requires that the tag
HAVE_DOT
is set to YES.
UML_LIMIT_NUM_FIELDS
If the UML_LOOK tag is enabled, the fields and methods are shown inside the class node. [...]
还要确保(如上文 UML_LOOK
的要求所述)您需要将 the HAVE_DOT
tag 设置为 YES
(并且自然地从路径中获得点工具) .
HAVE_DOT
If you set the
HAVE_DOT
tag toYES
then doxygen will assume the dot tool is available from the path. This tool is part of Graphviz, a graph visualization toolkit from AT&T and Lucent Bell Labs. The other options in this section have no effect if this option is set toNO
The default value is:
NO
.
我找到了,我不得不将 HIDE_UNDOC_RELATIONS
设置为 YES
。
F 从文档:
HIDE_UNDOC_RELATIONS
If set to YES the inheritance and collaboration graphs will hide inheritance and usage relations if the target is undocumented or is not a class.
The default value is: YES.