Exemple #1
0
 protected virtual int TightMarshalNestedObject1(
     OpenWireFormat wireFormat,
     DataStructure o,
     BooleanStream bs)
 {
     return(wireFormat.TightMarshalNestedObject1(o, bs));
 }
Exemple #2
0
 protected virtual int TightMarshalCachedObject1(
     OpenWireFormat wireFormat,
     DataStructure o,
     BooleanStream bs)
 {
     /*
      * if (wireFormat.isCacheEnabled()) {
      * Short index = wireFormat.getMarshallCacheIndex(o);
      * bs.WriteBoolean(index == null);
      * if (index == null) {
      * int rc = wireFormat.Marshal1NestedObject(o, bs);
      * wireFormat.addToMarshallCache(o);
      * return 2 + rc;
      * } else {
      * return 2;
      * }
      * } else {
      * return wireFormat.Marshal1NestedObject(o, bs);
      * }
      */
     return(wireFormat.TightMarshalNestedObject1(o, bs));
 }
 protected virtual int TightMarshalNestedObject1(
     OpenWireFormat wireFormat,
     DataStructure o,
     BooleanStream bs)
 {
     return wireFormat.TightMarshalNestedObject1(o, bs);
 }
 protected virtual int TightMarshalCachedObject1(
     OpenWireFormat wireFormat,
     DataStructure o,
     BooleanStream bs)
 {
     /*
      if (wireFormat.isCacheEnabled()) {
      Short index = wireFormat.getMarshallCacheIndex(o);
      bs.WriteBoolean(index == null);
      if (index == null) {
      int rc = wireFormat.Marshal1NestedObject(o, bs);
      wireFormat.addToMarshallCache(o);
      return 2 + rc;
      } else {
      return 2;
      }
      } else {
      return wireFormat.Marshal1NestedObject(o, bs);
      }
      */
     return wireFormat.TightMarshalNestedObject1(o, bs);
 }