53 for (
int i=0; i <
n; ++i)
118 ERRORMSG(
"Message::getmsg() no more items in Message" <<
endl);
127 if (m.
data() != 0 && data != 0)
172 void *retdata = m.
data();
179 else if (retdata != 0)
198 o <<
"Message contains " << m.
size() <<
" items (" << m.
removed();
199 o <<
" removed). Contents:\n";
200 for (
size_t i = 0 ; i < m.
size(); ++i)
203 o <<
" Item " << i <<
": " << mi.
numElems() <<
" elements, ";
204 o << mi.
numBytes() <<
" bytes total, needDelete = ";
std::ostream & operator<<(std::ostream &o, const Message &m)
Inform & endl(Inform &inf)
virtual void cleanupMessage(void *)
Message & putmsg(void *, int, int=0)
std::vector< MsgItem > MsgItemList
unsigned int numBytes() const
bool willNeedDelete() const
unsigned int numElems() const