23 Dec 2011 09:33
PATCH: Exclude C++ std::string/wstring from diagrams
Fredrik Orderud <forderud <at> gmail.com>
2011-12-23 08:33:06 GMT
2011-12-23 08:33:06 GMT
The BUILTIN_STL_SUPPORT option is great for enabling doxygen to parse C++ classes containing STL containers and smart-pointers. It does, however, also lead to some "noise" in the diagrams; especially for text strings. I don't personally see the big value of adding separate boxes for e.g. std::string members in collaboration diagrams for classes containing strings. Instead, text strings could be considered a "primitive" type, like int, float etc. Would it be possible to consider the STL string classes as "primitive" types, and exclude them from collaboration (and possibly other) diagrams? A patch that attempts to do so is attached.
------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev
_______________________________________________ Doxygen-develop mailing list Doxygen-develop <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/doxygen-develop
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> Parameter matching can now fail when the type is a std::string where it previously succeeded,
> so I had to remove the patch again.
Ok. That is understandable. Do you have any ideas of alternative
approaches for excluding text strings from the diagrams?
Regards,
Fredrik
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
RSS Feed