1 2 /* Web Polygraph http://www.web-polygraph.org/ 3 * Copyright 2003-2011 The Measurement Factory 4 * Licensed under the Apache License, Version 2.0 */ 5 6 #include "base/polygraph.h" 7 8 #include "runtime/IOBuf.h" 9 #include "base/ObjId.h" 10 #include "csm/RndBodyIter.h" 11 12 #include "xstd/gadgets.h" 13 pourMiddle()14bool RndBodyIter::pourMiddle() { 15 pourRandom(middleSizeLeft()); 16 return true; 17 } 18 clone() const19RndBodyIter *RndBodyIter::clone() const { 20 return new RndBodyIter(*this); 21 } 22 calcContentSize() const23void RndBodyIter::calcContentSize() const { 24 Should(false); 25 } 26