public OutputBinSpreadStream(IIOFactory ioFactory, OutputAttribute attribute) { FDataContainer = ioFactory.CreateIOContainer <IOutStream <T> >(attribute, false); FBinSizeContainer = ioFactory.CreateIOContainer <IOutStream <int> >(attribute.GetBinSizeOutputAttribute(), false); FDataStream = FDataContainer.IOObject; FBinSizeStream = FBinSizeContainer.IOObject; Length = 1; }
public MultiDimOutStream(IIOFactory ioFactory, OutputAttribute attribute) { FDataContainer = ioFactory.CreateIOContainer <IOutStream <T> >(attribute.DecreaseBinSizeWrapCount(), false); FBinSizeContainer = ioFactory.CreateIOContainer <IOutStream <int> >(attribute.GetBinSizeOutputAttribute(FDataContainer), false); FDataStream = FDataContainer.IOObject; FBinSizeStream = FBinSizeContainer.IOObject; Length = 1; }
public OutputBinSpreadStream(IIOFactory ioFactory, OutputAttribute attribute) : this(ioFactory, attribute, c => ioFactory.CreateIOContainer <IOutStream <int> >(attribute.GetBinSizeOutputAttribute(c), false)) { FOwnsBinSizeContainer = true; }