Re: Could this be done on every ISO/IEC 14882:2003 implementation?
From: Steven T. Hatton (susudata_at_setidava.kushan.aa)
Date: 06/04/04
- Next message: Denis Remezov: "Re: function template"
- Previous message: Steven T. Hatton: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- In reply to: David Harmon: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- Next in thread: Petec: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- Reply: Petec: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 04 Jun 2004 14:02:07 -0400
David Harmon wrote:
> On Fri, 04 Jun 2004 12:41:08 -0400 in comp.lang.c++, Pete Becker
> <petebecker@acm.org> wrote,
>>Victor Bazarov wrote:
>>>
>>> Steven T. Hatton wrote:
>>> > This was written for the gnu.g++.help list. It rather clearly spells
>>> > out [..]
>>>
>>> I must be riding my stupid horse today.
>>
>>Nope. I couldn't figure it out, either. A sentence or two describing
>>what's desired would be helpful.
>
> He wants to generate library user documentation from the object code.
Actually, that's not quite what I want, but close. First off, if I just had
the freakin' headers formatted to reflect the interface (what a concept),
that would be a huge part of the battle. The following is quite common in
C++ headers. It is the <vector> header from gnu. Yes, in this rare
instance I am saying nasty things about gnu.
/** @file vector
* This is a Standard C++ Library header. You should @c #include this
header
* in your programs, rather than any of the "st[dl]_*.h" implementation
files.
*/
#ifndef _CPP_VECTOR
#define _CPP_VECTOR 1
#pragma GCC system_header
#include <bits/functexcept.h>
#include <bits/stl_algobase.h>
#include <bits/stl_alloc.h>
#include <bits/stl_construct.h>
#include <bits/stl_uninitialized.h>
#include <bits/stl_vector.h>
#include <bits/stl_bvector.h>
#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
# include <bits/vector.tcc>
#endif
#endif /* _CPP_VECTOR */
There is a tool, freely available, which creates very nice C++ api
documentation. http://www.doxygen.org
In a typical Java IDE it is very easy to add libraries, and to have the IDE
query them to find all the symbols available, or potentially available to
the current scope. This means the IDE can do a great deal of the drudge
work of locating symbols within the available libraries, and providing the
necessary code in order to use the symbol. It also makes it possible for
the IDE to verify the code contains valid identifiers, and can mark invalid
code wish some kind of error indicator. The power of such tools is hard to
fully communicate without the audience having experience using them.
-- STH Hatton's Law: "There is only One inviolable Law" KDevelop: http://www.kdevelop.org SuSE: http://www.suse.com Mozilla: http://www.mozilla.org
- Next message: Denis Remezov: "Re: function template"
- Previous message: Steven T. Hatton: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- In reply to: David Harmon: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- Next in thread: Petec: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- Reply: Petec: "Re: Could this be done on every ISO/IEC 14882:2003 implementation?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|