00001 /********************************************************************** 00002 ** This program is part of 'MOOSE', the 00003 ** Messaging Object Oriented Simulation Environment. 00004 ** Copyright (C) 2003-2010 Upinder S. Bhalla. and NCBS 00005 ** It is made available under the terms of the 00006 ** GNU Lesser General Public License version 2.1 00007 ** See the file COPYING.LIB for the full notice. 00008 **********************************************************************/ 00009 00013 class MsgFuncBinding 00014 { 00015 public: 00016 MsgFuncBinding() 00017 : mid(), fid( 0 ) 00018 {;} 00019 00020 MsgFuncBinding( ObjId m, FuncId f ) 00021 : mid( m ), fid( f ) 00022 {;} 00023 00024 bool operator==( const MsgFuncBinding& other ) const { 00025 return ( mid == other.mid && fid == other.fid ); 00026 } 00027 00028 ObjId mid; 00029 FuncId fid; 00030 00031 private: 00032 };