00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 #include "ContigEdge_AMOS.hh" 00011 using namespace AMOS; 00012 using namespace std; 00013 00014 00015 00016 00017 //================================================ ContigEdge_t ================ 00018 const NCode_t ContigEdge_t::NCODE = M_CONTIGEDGE; 00019 00020 00021 //----------------------------------------------------- readMessage ------------ 00022 void ContigEdge_t::readMessage (const Message_t & msg) 00023 { 00024 ContigLink_t::readMessage (msg); 00025 IEdge_t::readMessage (msg); 00026 00027 try { 00028 // put ContigEdge_t specifics here 00029 } 00030 catch (ArgumentException_t) { 00031 00032 clear( ); 00033 throw; 00034 } 00035 } 00036 00037 00038 //----------------------------------------------------- readRecord ------------- 00039 void ContigEdge_t::readRecord (istream & fix, istream & var) 00040 { 00041 ContigLink_t::readRecord (fix, var); 00042 IEdge_t::readRecord (fix, var); 00043 00044 // put ContigEdge_t specifics here 00045 } 00046 00047 00048 //----------------------------------------------------- readRecordFix ---------- 00049 void ContigEdge_t::readRecordFix (istream & fix) 00050 { 00051 ContigLink_t::readRecordFix (fix); 00052 IEdge_t::readRecordFix (fix); 00053 00054 // put ContigEdge_t specifics here 00055 } 00056 00057 00058 //----------------------------------------------------- writeMessage ----------- 00059 void ContigEdge_t::writeMessage (Message_t & msg) const 00060 { 00061 ContigLink_t::writeMessage (msg); 00062 IEdge_t::writeMessage (msg); 00063 00064 try { 00065 00066 msg . setMessageCode (ContigEdge_t::NCODE); 00067 00068 // put ContigEdge_t specifics here 00069 } 00070 catch (ArgumentException_t) { 00071 00072 msg . clear( ); 00073 throw; 00074 } 00075 } 00076 00077 00078 //----------------------------------------------------- writeRecord ------------ 00079 void ContigEdge_t::writeRecord (ostream & fix, ostream & var) const 00080 { 00081 ContigLink_t::writeRecord (fix, var); 00082 IEdge_t::writeRecord (fix, var); 00083 00084 // put ContigEdge_t specifics here 00085 }
1.4.7