View previous topic :: View next topic |
Author |
Message |
manuels Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/106271246545d319130201e.gif)
Joined: 22 Nov 2003 Posts: 2146 Location: Europe
|
Posted: Fri Feb 20, 2009 12:19 pm Post subject: Aufrufe eines C++-Programms |
|
|
Hallo zusammen,
ich suche ein Programm, das mir auflistet welche C++-Routinen welche anderen Funktionen aufruft.
Soucenav von Redhead ist ganz schön, da kann man aber das ganze nicht ausdrucken.
Doc++ funktioniert komischerweise nicht mit meinem Source Code - da wird nur eine leere Dokumentation ausgespuckt. _________________ Build your own live cd with catalyst 2.0! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ixo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1240758456461a0a5f4275d.jpg)
Joined: 09 Jul 2005 Posts: 375
|
Posted: Fri Feb 20, 2009 4:30 pm Post subject: |
|
|
Das ist bei mir ja alles schon sehr lange her - aber müsste nicht ctags so etwas können?
Gruß, ixo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
manuels Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/106271246545d319130201e.gif)
Joined: 22 Nov 2003 Posts: 2146 Location: Europe
|
Posted: Fri Feb 20, 2009 4:44 pm Post subject: |
|
|
Jo, kann es. Danke.
Allerdings gibt mir die Option
Quote: | -x Print a tabular, human-readable cross reference (xref) file to standard output instead of generating a tag file. |
das hier aus:
Code: | ABS macro 36 impl_geometry.hpp #define ABS(x) abs(x)
A_div member 279 gaias.hpp HBMat<T> A_e, A_mm, A_p, A_grad, A_div, A_div_lap; // _e = energy matrix, _mm = momentummatrix, _p = pressure matrix
A_div_lap member 279 gaias.hpp HBMat<T> A_e, A_mm, A_p, A_grad, A_div, A_div_lap; // _e = energy matrix, _mm = momentummatrix, _p = pressure matrix
A_e member 279 gaias.hpp HBMat<T> A_e, A_mm, A_p, A_grad, A_div, A_div_lap; // _e = energy matrix, _mm = momentummatrix, _p = pressure matrix
A_grad member 279 gaias.hpp HBMat<T> A_e, A_mm, A_p, A_grad, A_div, A_div_lap; // _e = energy matrix, _mm = momentummatrix, _p = pressure matrix
A_mm member 279 gaias.hpp HBMat<T> A_e, A_mm, A_p, A_grad, A_div, A_div_lap; // _e = energy matrix, _mm = momentummatrix, _p = pressure matrix
A_p member 279 gaias.hpp HBMat<T> A_e, A_mm, A_p, A_grad, A_div, A_div_lap; // _e = energy matrix, _mm = momentummatrix, _p = pressure matrix
Angle function 192 impl_geometry.hpp T Angle(Point<T> p1, Point<T> p2, Point<T> p3)
Angle function 206 impl_geometry.hpp T Angle(Point<T> v, Point<T> u)
Ap_mm member 275 gaias.hpp valarray<T> Ap_p, Ap_mm; // central weights for pressure correction
Ap_p member 275 gaias.hpp valarray<T> Ap_p, Ap_mm; // central weights for pressure correction
Ap_pos member 15 impl_mat_setup.hpp vector<int> Ap_pos;
| human-readable find ich das nicht gerade.
Mir schwebt eher sowas vor:
Code: |
mail() ruft auf:
- funktion1() (line 12)
- funktion2() (line 24)
funktion 1() ruft auf:
- funktion11() (line 123)
|
Gibts da irgendwelche switches für ctags die ich übersehe? _________________ Build your own live cd with catalyst 2.0! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ixo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1240758456461a0a5f4275d.jpg)
Joined: 09 Jul 2005 Posts: 375
|
Posted: Sat Feb 21, 2009 9:11 am Post subject: |
|
|
Hi manuels,
tut mit leid, keine Ahnung. Ich habe schon seit ~10 Jahren nicht mehr in C++ programmiert
Gruß, ixo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Necoro Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/163672451943ab3dcad64df.gif)
Joined: 18 Dec 2005 Posts: 1912 Location: Germany
|
Posted: Sat Feb 21, 2009 3:21 pm Post subject: |
|
|
Hmm ... nur ein wenig raten... für C macht das doch eigentlich cscope, oder? - Kann das das vllt auch für C++ ? _________________ Inter Deum Et Diabolum Semper Musica Est. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
manuels Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/106271246545d319130201e.gif)
Joined: 22 Nov 2003 Posts: 2146 Location: Europe
|
Posted: Sat Feb 21, 2009 4:06 pm Post subject: |
|
|
Jo, hab es gerade mal ausprobiert.
Zum interaktiv nutzen ist das sehr schön - aber wie bring ich cscope dazu etwas "druckbares" auszuspucken? _________________ Build your own live cd with catalyst 2.0! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Yamakuzure Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/46484627558b6ccf846e49.jpg)
Joined: 21 Jun 2006 Posts: 2305 Location: Adendorf, Germany
|
Posted: Tue Feb 24, 2009 12:26 pm Post subject: |
|
|
Tipp: doxygen!
Baut dir hübsche Ansichten wer was aufruft, wer woher und wovon aufgerufen wird, abhängt, etc.
Achja: Wahlweise als UML oder auch alternativer Ansicht.
Funktioniert für jede Menge Sprachen, und baut wahlweise (dynamisches)HTML, RTF, LaTeX, Man Pages und/oder XML. Die HTML Seiten können auch zu .chm kompiliert werden.
(Emerge app-doc/doxygen *mit* qt3 USE-Flag, sonst bekommst du den Wizard nicht, und doxygen config dateien selberschreiben ist... naja... keine soooo gute idee.) Code: | ~ $ grep -E '^\s*[^#]\w+' ~/Arbeit/tools/otf2pdf/Doxyfile | wc -l
180 |
_________________ Edited 220,176 times by Yamakuzure |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
manuels Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/106271246545d319130201e.gif)
Joined: 22 Nov 2003 Posts: 2146 Location: Europe
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|