記事によると#UML#Astah + DoxygenのC ++ソースコードクラス図にマッピングされ、我々は簡単にソースが自動的に、クラス図にマッピングすることができ
しかし、実際のプロセスでは、あなたが生成されたクラス図を見つけるだろう、メンバ変数は、多くの場合、失われることがあります。
次のようにサポートする唯一の基本的なタイプは、カスタム型をサポートしていません。
private:
int test_int;
static int test_static_int;
const int test_const_int;
static const int test_static_const_int;
unsigned int test_unsigned_int;
bool test_bool;
short test_short;
long test_long;
long long test_longlong;
float test_float;
double test_double;
vector<Mouse> test_vector;
vector<Mouse1> test_vector_notexit;
string test_string;
deque<Mouse> test_deque;
list<Mouse> test_list;
forward_list<Mouse> test_forward_list;
queue<Mouse> test_queue;
priority_queue<Mouse> test_priority_queue;
stack<Mouse> test_stack;
set<Mouse> test_set;
multiset<Mouse> test_multiset;
bitset<Mouse> test_bitset;
hash_set<Mouse> test_hash_set;
hash_multiset<Mouse> test_hash_multiset;
map<Mouse> test_map;
multimap<Mouse> test_multimap;
hash_map<Mouse> test_hash_map;
hash_multimap<Mouse> test_hash_multimap;
//define myself type
Mouse test_calss;
Mouse* test_calsspoint;
Mouse1 test_calss_notexit;
Mouse1* test_calsspoint_notexit;
enum_letter *test_enumletter;
ENUM_UPPER *test_enumupper;
enum_letter1 *test_enumletter_notexit;
ENUM_UPPER1 *test_enumupper_notexit;
COMPUTER_TYPE m_eComputer;
通常の変数は、メンバ変数のXMLデータファイルを解決します
<memberdef kind="variable" id="class_abstract_computer_1a80a44ff444a91b7f7a2a71590bdd55c4" prot="private" static="no" mutable="no">
<type>int</type>
<definition>int AbstractComputer::test_int</definition>
<argsstring></argsstring>
<name>test_int</name>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="C:/96_project/DesignPattern/Product/groupinc/Computer.h" line="107" column="5" bodyfile="C:/96_project/DesignPattern/Product/groupinc/Computer.h" bodystart="107" bodyend="-1"/>
</memberdef>
カスタム変数解像不可能なメンバ変数XMLデータファイル
<memberdef kind="variable" id="class_abstract_computer_1a2788034a237fe77be8220a31e4b44dcb" prot="private" static="no" mutable="no">
<type><ref refid="_computer_8h_1a6ede75de3409e74a7fce9e3c89b5087b" kindref="member">ENUM_UPPER</ref></type>
<definition>ENUM_UPPER AbstractComputer::test_enumupper</definition>
<argsstring></argsstring>
<name>test_enumupper</name>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="C:/96_project/DesignPattern/Product/groupinc/Computer.h" line="143" column="12" bodyfile="C:/96_project/DesignPattern/Product/groupinc/Computer.h" bodystart="143" bodyend="-1"/>
</memberdef>
<タイプ>カスタム変数の型ENUM_UPPERは、基本的な変数の種類の変更のintを
<memberdef kind="variable" id="class_abstract_computer_1a2788034a237fe77be8220a31e4b44dcb" prot="private" static="no" mutable="no">
<type><ref refid="_computer_8h_1a6ede75de3409e74a7fce9e3c89b5087b" kindref="member">int</ref></type>
<definition>ENUM_UPPER AbstractComputer::test_enumupper</definition>
<argsstring></argsstring>
<name>test_enumupper</name>
<briefdescription>
</briefdescription>
<detaileddescription>
</detaileddescription>
<inbodydescription>
</inbodydescription>
<location file="C:/96_project/DesignPattern/Product/groupinc/Computer.h" line="143" column="12" bodyfile="C:/96_project/DesignPattern/Product/groupinc/Computer.h" bodystart="143" bodyend="-1"/>
</memberdef>
以下に示すように正常、アウト解析されました
TBD
使用Graphvizのは、カスタムクラスのメンバ関数インタフェースが十分に詳細に説明されていませんが表示されます。次のように参照を接続することができます。
#Doxygenの## Graphvizの#doxygenは+ Graphvizのフローチャート生成関数呼出し
次のとおりです。