c++ code completion status report
ian reinhart geiser
geiseri at yahoo.com
Thu Jan 3 23:55:05 UTC 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 03 January 2002 17:34, you wrote about Re: c++ code completion
status report:
> I heart on an oter list that gcc 3.x.x support a XML output of the class
> member like the database of VC++ when it compile some source. Maybe
> that's is also a way to go?
no it is not, because it knows nothing of signals and slots
ideally the ONLY parser that is aware of this and has XML output is doxygen.
I was able to write a "object" viewer of my code using Doxygen and QDOM in
about 150 lines and it was reasonably fast ( 15 classes each with 5-6
functions) in about 4 seconds on a Athlon 800. The time seemed split between
the parseing and the XML rendering. I left it at that but ideally if you
talke VERY nicely to the Doxygen guy you may be able to use his parser and
then just create a QDOM object, then use that accordingly
DOMS are expensive to create from what i have found but once you have one
they are very fast. Basicly they are dictonary data structures. If you could
use doxygen's parser to create a DOM you are about 90% of the way there. The
other 10% ( the UI ) i have no clue about, since all i wanted was a robust
class veiw and I stopped there.
cheers
-ian reinhart geiser
- --
:-- Ian Reinhart Geiser --:
GPG Key: D6A6 7E16 13A9 B5A7 9E18 D1A7 3F2E B64D 19BC 76F8
===========================================================
===========================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8NOF1Py62TRm8dvgRAiBYAKDj1RjdPMQ3iFgvmXm7edCtF4PefgCfYqhg
YZBlh5HFp97WG89RahgZ1P4=
=sx60
-----END PGP SIGNATURE-----
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
More information about the KDevelop-devel
mailing list