contrib/gel/gmvl/gmvl_connection.cxx
Go to the documentation of this file.
00001 // This is gel/gmvl/gmvl_connection.cxx
00002 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00003 #pragma implementation
00004 #endif
00005 //:
00006 // \file
00007 // \author crossge@crd.ge.com
00008 
00009 #include "gmvl_connection.h"
00010 #include <vcl_iostream.h>
00011 
00012 gmvl_connection::gmvl_connection( const gmvl_node_sptr node1, const gmvl_node_sptr node2)
00013   : n1_( node1), n2_( node2)
00014 {
00015 }
00016 
00017 gmvl_connection::~gmvl_connection()
00018 {
00019 }
00020 
00021 // input / output
00022 
00023 vcl_ostream &operator<<( vcl_ostream &os, const gmvl_connection &c)
00024 {
00025   return os << "<Connection n1=" << c.n1_.ptr() << " n2=" << c.n2_.ptr() << '>';
00026 }