Ejemplo n.º 1
0
 // Write and read methods.
 public void WriteAtts(CommunicationBuffer buf) {
   if (WriteSelect(0, buf)) buf.WriteInt(contourNLevels);
   if (WriteSelect(1, buf)) buf.WriteDoubleVector(contourValue);
   if (WriteSelect(2, buf)) buf.WriteDoubleVector(contourPercent);
   if (WriteSelect(3, buf)) buf.WriteInt(contourMethod);
   if (WriteSelect(4, buf)) buf.WriteBool(minFlag);
   if (WriteSelect(5, buf)) buf.WriteBool(maxFlag);
   if (WriteSelect(6, buf)) buf.WriteDouble(min);
   if (WriteSelect(7, buf)) buf.WriteDouble(max);
   if (WriteSelect(8, buf)) buf.WriteInt(scaling);
   if (WriteSelect(9, buf)) buf.WriteString(variable);
 }
 // Write and read methods.
 public void WriteAtts(CommunicationBuffer buf) {
   if (WriteSelect(0, buf)) buf.WriteString(name);
   if (WriteSelect(1, buf)) buf.WriteStringVector(varnames);
   if (WriteSelect(2, buf)) buf.WriteByteVector(binType);
   if (WriteSelect(3, buf)) buf.WriteDoubleVector(binBoundaries);
   if (WriteSelect(4, buf)) buf.WriteInt(reductionOperator);
   if (WriteSelect(5, buf)) buf.WriteString(varForReductionOperator);
   if (WriteSelect(6, buf)) buf.WriteDouble(undefinedValue);
   if (WriteSelect(7, buf)) buf.WriteInt(binningScheme);
   if (WriteSelect(8, buf)) buf.WriteIntVector(numBins);
   if (WriteSelect(9, buf)) buf.WriteBool(overTime);
   if (WriteSelect(10, buf)) buf.WriteInt(timeStart);
   if (WriteSelect(11, buf)) buf.WriteInt(timeEnd);
   if (WriteSelect(12, buf)) buf.WriteInt(timeStride);
   if (WriteSelect(13, buf)) buf.WriteInt(outOfBoundsBehavior);
 }