title: c++ call graph, but as text
body: <p>For a given method (eg. Settings.cpp getSettingByName()), I would like to get a <strong>text</strong> representation of the call graph. I've heard doxygen can generate an image of the call graph, I'm more interested in a text output.</p>
  
  <p>For example, if I gave it "Settings.cpp getMethodByName" it would return:</p>
  
  <pre><code>Settings.cpp getSettingByName();
      SettingsWrapper.cpp getMaximumSpeed();
          ECU.cpp monitorSpeed();
              Operate.cpp runECU();
                  Main.cpp run();
          CruiseControl.cpp accelerate();
              Operate.cpp runCruiseControl();
                  Main.cpp run();
          Radio.cpp playApplauseThroughSpeakers();
              Operate.cpp runStereo();
                  Main.cpp run(); 
  </code></pre>
  
  <p>Is this possible?</p>
  
  <p>Many thanks, Fidel</p>
  
  <p>ps. don't freak about the code, it's just an example.</p>