00001 #include "Mapping.h" 00002 00003 using namespace model; 00004 00005 Mapping::Mapping(int id, float weight) { 00006 m_iId = id; 00007 m_fWeight = weight; 00008 } 00009 00027 Mapping::Mapping(const Mapping& other) { 00028 00029 } 00030 00052 Mapping& Mapping::operator=(const Mapping& other) 00053 { 00054 // if same object 00055 if ( this == &other ) 00056 return *this; 00057 00058 00059 return *this; 00060 } 00061 00083 bool Mapping::operator==( const Mapping& other ) const 00084 { 00085 00086 if( true ) { 00087 return true; 00088 } 00089 return false; 00090 } 00091 00113 bool Mapping::operator!=( const Mapping& other ) const 00114 { 00115 if( true ) { 00116 return false; 00117 } 00118 return true; 00119 }