DescriptionStructDump is an IDA plugin, allowing you to export IDA types into high-level language definitions.
Currently, C++ is supported, however to add other languages, it is simple. The source code is released under the GNU GPL. If you modify/find bugs/enhance this code, please send me the changes.
When you first run the plugin through its hotkey, you will have to select one or more structures to add to export list. You can add as many structs as you want, without worrying about structs interelation, since all linked structs will be automatically retrieved.