/* Web Polygraph       http://www.web-polygraph.org/
 * (C) 2003-2006 The Measurement Factory
 * Licensed under the Apache License, Version 2.0 */

#include "base/polygraph.h"

#include "runtime/IOBuf.h"
#include "base/ObjId.h"
#include "csm/RndBodyIter.h"

#include "xstd/gadgets.h"

bool RndBodyIter::pourBody() {
	theBuiltSize += theBuf->appendRndUpTo(
		IOBuf::RandomOffset(offSeed(), theBuiltSize), sizeLeft());
	return true;
}


syntax highlighted by Code2HTML, v. 0.9.1