Builder/Builder/include/CashedBoxFiles.h
/// write access to elements, sets the modified flag
write access to elements, sets the modified flag
write access to elements sets the modified flag
T * refElements (int bi) {
		static T tmp;
		IFWARN(bi >= nrBoxes, 0, "box index " << bi << " out of range [0," << nrBoxes << ")") 
			return NULL;
		short ci = ensureCashed(bi);
		IFWARN(ci == -1, 0, "could not cash a box!!!") return NULL;
		cash[ci].modified = 1;
		return (T *)cash[ci].elements;
	}
T * refElements ( int bi ) { static T tmp ; IFWARN ( bi >= nrBoxes , 0 , " " << bi << " " << nrBoxes << " " ) return NULL ; short ci = ensureCashed ( bi ) ; IFWARN ( ci == -1 , 0 , " " ) return NULL ; cash [ ci ] . modified = 1 ; return ( T * ) cash [ ci ] . elements ; }
write access to elements, sets the modified flag
write access to elements sets the modified flag