00001 /* 00002 * ===================================================================================== 00003 * 00004 * Filename: link.cc 00005 * 00006 * Description: 00007 * 00008 * Version: 1.0 00009 * Created: 02/22/2010 07:34:57 PM 00010 * Revision: none 00011 * Compiler: gcc 00012 * 00013 * Author: Mitchelle Rasquinha (), mitchelle.rasquinha@gatech.edu 00014 * Company: Georgia Institute of Technology 00015 * 00016 * ===================================================================================== 00017 */ 00018 00019 #ifndef _link_cc_INC 00020 #define _link_cc_INC 00021 00022 #include "irisLink.h" 00023 /* 00024 *-------------------------------------------------------------------------------------- 00025 * Class: IrisLink 00026 * Method: IrisLink 00027 * Description: constructor 00028 *-------------------------------------------------------------------------------------- 00029 */ 00030 00031 string 00032 IrisLink::toString () const 00033 { 00034 stringstream str; 00035 str << NetworkComponent::toString(); 00036 str << "Networklink: " 00037 << "\tinputConnection: " << input_connection 00038 << "\toutputConnection: " << output_connection 00039 << endl; 00040 return str.str(); 00041 } /* ----- end of function IrisLink::toString ----- */ 00042 #endif /* ----- #ifndef _link_cc_INC ----- */ 00043