// Generated by the C++ Middleware Writer version 1.13 #include #include #include #include #include #include extern uint32_t msg_length_max; struct Msgs { static void Send(SendBuffer* buf, const list& abt1) { Counter cntr(msg_length_max); cntr.Add(sizeof(uint32_t)); blockCount(cntr, abt1); buf->Receive(&cntr.value_, sizeof(cntr.value_)); buf->Receive32(abt1.size()); list::const_iterator mediator2 = abt1.begin(); list::const_iterator omega2 = abt1.end(); for (; mediator2 != omega2; ++mediator2) { buf->Receive(&(*mediator2), sizeof(int32_t)); } buf->Flush(); } template static void Receive(B* buf, list& abt1) { uint32_t headCount[1]; buf->Give(headCount[0]); for (; headCount[0] > 0; --headCount[0]) { int32_t rep3; buf->Give(rep3); abt1.push_back(rep3); } } static void Send(SendBuffer* buf, const list& abt1, const deque& abt2) { Counter cntr(msg_length_max); cntr.Add(sizeof(uint32_t)); blockCount(cntr, abt1); cntr.Add(sizeof(uint32_t)); blockCount(cntr, abt2); buf->Receive(&cntr.value_, sizeof(cntr.value_)); buf->Receive32(abt1.size()); list::const_iterator mediator4 = abt1.begin(); list::const_iterator omega4 = abt1.end(); for (; mediator4 != omega4; ++mediator4) { buf->Receive(&(*mediator4), sizeof(int32_t)); } buf->Receive32(abt2.size()); deque::const_iterator mediator5 = abt2.begin(); deque::const_iterator omega5 = abt2.end(); for (; mediator5 != omega5; ++mediator5) { buf->Receive(&(*mediator5), sizeof(int32_t)); } buf->Flush(); } template static void Receive(B* buf, list& abt1, deque& abt2) { uint32_t headCount[1]; buf->Give(headCount[0]); for (; headCount[0] > 0; --headCount[0]) { int32_t rep6; buf->Give(rep6); abt1.push_back(rep6); } buf->Give(headCount[0]); for (; headCount[0] > 0; --headCount[0]) { int32_t rep7; buf->Give(rep7); abt2.push_back(rep7); } } static void Send(SendBuffer* buf, const set& abt1) { Counter cntr(msg_length_max); cntr.Add(sizeof(uint32_t)); blockCount(cntr, abt1); buf->Receive(&cntr.value_, sizeof(cntr.value_)); buf->Receive32(abt1.size()); set::const_iterator mediator8 = abt1.begin(); set::const_iterator omega8 = abt1.end(); for (; mediator8 != omega8; ++mediator8) { buf->Receive(&(*mediator8), sizeof(int32_t)); } buf->Flush(); } template static void Receive(B* buf, set& abt1) { uint32_t headCount[1]; buf->Give(headCount[0]); set::iterator endIt1 = abt1.end(); for (; headCount[0] > 0; --headCount[0]) { int32_t rep9; buf->Give(rep9); abt1.insert(endIt1, rep9); } } };