// computer-generated output unsigned int const MSGID_1 = 1201; inline int Send(Buffer* buf, const list& about1) { unsigned int headCount = 0; if (!buf->Receive(&MSGID_1, sizeof(MSGID_1))) { buf->ews_.SetErrorWords(2, __FILE__, __LINE__); return 0; } headCount = about1.size(); if (!buf->Receive(&headCount, sizeof(int))) { buf->ews_.SetErrorWords(1, __FILE__, __LINE__); return 0; } list::const_iterator mediator1 = about1.begin(); list::const_iterator omega1 = about1.end(); for (; mediator1 != omega1; ++mediator1) { if (!buf->Receive(&(*mediator1), sizeof(int))) { buf->ews_.SetErrorWords(1, __FILE__, __LINE__); return 0; } } if (!buf->SendStoredData()) { buf->ews_.SetErrorWords(2, __FILE__, __LINE__); return 0; } return 1; } inline int Receive(Buffer* buf, list& about1) { unsigned int headCount[1]; if (!buf->PersistentRead(&headCount[0], sizeof(int))) { buf->ews_.SetErrorWords(1, __FILE__, __LINE__); return 0; } int rep2; for (unsigned int j0 = 0; j0 < headCount[0]; ++j0) { if (!buf->PersistentRead(&rep2, sizeof(int))) { buf->ews_.SetErrorWords(1, __FILE__, __LINE__); return 0; } about1.push_back(rep2); } return 1; }