File: defined.cc

package info (click to toggle)
oxref 2.02.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 692 kB
  • sloc: cpp: 1,282; makefile: 131; sh: 48
file content (18 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "xrefdata.ih"

void XrefData::defined(std::ostream &out) const
{
    out << name() << '\n';

    if (d_fullSymbol)
        out  << "  Full name: " << symbol() << '\n';

    if (d_source) 
        out <<  "  Source:    " << d_sourceFile << ' ';

    if (d_object)
        out << '(' << d_objFile << ')';

    if (d_source || d_object)
        out << '\n';
}