In article < .com>, "bsd_mike" <> writes:
>
> I am working with some purchased source code which
> contains types which are structures which themselves
> contain structures and even more structures.
> Each field in the structure is itself its own datatype.
>
> Is there a tool I can use that I can wrap a structure
> and have it dump out the composition based on basic
> types?
Not as part of the standard language, but you may want to try Doxygen,
a free documentation generator (similar to javadoc but for a variety
of languages). It has an "automatic" mode where it generates HTML
documentation from unannotated source; you can use the result to
examine a structure type or variable and drill down through its com-
ponent types.
http://www.doxygen.org
--
Michael Wojcik
The way things were, were the way things were, and they stayed that way
because they had always been that way. -- Jon Osborne