~pac72/ubuntu/lucid/ddd/devel

« back to all changes in this revision

Viewing changes to ddd/GraphEdge.C

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Schepler
  • Date: 2004-07-22 03:49:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040722034937-cysl08t1jvba4jrx
Tags: 1:3.3.9-3
USERINFO has been renamed to USERINFO.txt; adjust debian/rules code
to match, to get correct information on the About DDD dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// $Id: GraphEdge.C,v 1.8 1999/08/19 11:27:30 andreas Exp $
 
1
// $Id$
2
2
// GraphEdge class
3
3
 
4
4
// Copyright (C) 1995 Technische Universitaet Braunschweig, Germany.
27
27
// or send a mail to the DDD developers <ddd@gnu.org>.
28
28
 
29
29
char GraphEdge_rcsid[] = 
30
 
    "$Id: GraphEdge.C,v 1.8 1999/08/19 11:27:30 andreas Exp $";
31
 
 
32
 
#ifdef __GNUG__
33
 
#pragma implementation
34
 
#endif
35
 
 
 
30
    "$Id$";
36
31
 
37
32
#include "GraphEdge.h"
38
33
#include "GraphNode.h"
135
130
    
136
131
    
137
132
 
138
 
ostream& operator << (ostream& s, GraphEdge& e)
 
133
std::ostream& operator << (std::ostream& s, const GraphEdge& e)
139
134
{
140
135
    return s << "( " << *(e.from()) << " -> " << *(e.to()) << " )";
141
136
}
253
248
// drawEdge
254
249
// 
255
250
 
256
 
void GraphEdge::_print(ostream& os, const GraphGC &gc) const
 
251
void GraphEdge::_print(std::ostream& os, const GraphGC &gc) const
257
252
{
258
253
    // Don't print if we're hidden
259
254
    if (hidden())