~ubuntu-branches/ubuntu/trusty/oxref/trusty

« back to all changes in this revision

Viewing changes to xrefdata/defined.cc

  • Committer: Bazaar Package Importer
  • Author(s): Frank B. Brokken
  • Date: 2011-02-16 12:41:45 UTC
  • Revision ID: james.westby@ubuntu.com-20110216124145-s2896m33z9g1cqjg
Tags: upstream-0.90.00
ImportĀ upstreamĀ versionĀ 0.90.00

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "xrefdata.ih"
 
2
 
 
3
void XrefData::defined(std::ostream &out) const
 
4
{
 
5
    out << name() << '\n';
 
6
 
 
7
    if (d_fullSymbol)
 
8
        out  << "  Full name: " << symbol() << '\n';
 
9
 
 
10
    if (d_source) 
 
11
        out <<  "  Source:    " << d_sourceFile << ' ';
 
12
 
 
13
    if (d_object)
 
14
        out << '(' << d_objFile << ')';
 
15
 
 
16
    if (d_source || d_object)
 
17
        out << '\n';
 
18
}