示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
 public OutputBinSpreadStream(IIOFactory ioFactory, OutputAttribute attribute)
     : this(ioFactory, attribute, c => ioFactory.CreateIOContainer <IOutStream <int> >(attribute.GetBinSizeOutputAttribute(c), false))
 {
     FOwnsBinSizeContainer = true;
 }