public String toString() {StringBuilder buf = new StringBuilder();buf.append("ObjectToPack[");buf.append(Constants.typeString(getType()));buf.append(" ");buf.append(name());if (wantWrite())buf.append(" wantWrite");if (isReuseAsIs())buf.append(" reuseAsIs");if (isDoNotDelta())buf.append(" doNotDelta");if (isEdge())buf.append(" edge");if (getDeltaDepth() > 0)buf.append(" depth=").append(getDeltaDepth());if (isDeltaRepresentation()) {if (getDeltaBase() != null)buf.append(" base=inpack:").append(getDeltaBase().name());elsebuf.append(" base=edge:").append(getDeltaBaseId().name());}if (isWritten())buf.append(" offset=").append(getOffset());buf.append("]");return buf.toString();}

public override string ToString(){StringBuilder buf = new StringBuilder();buf.Append("ObjectToPack[");buf.Append(Constants.TypeString(GetType()));buf.Append(" ");buf.Append(Name);if (WantWrite()){buf.Append(" wantWrite");}if (IsReuseAsIs()){buf.Append(" reuseAsIs");}if (IsDoNotDelta()){buf.Append(" doNotDelta");}if (IsEdge()){buf.Append(" edge");}if (GetDeltaDepth() > 0){buf.Append(" depth=" + GetDeltaDepth());}if (IsDeltaRepresentation()){if (GetDeltaBase() != null){buf.Append(" base=inpack:" + GetDeltaBase().Name);}else{buf.Append(" base=edge:" + GetDeltaBaseId().Name);}}if (IsWritten()){buf.Append(" offset=" + GetOffset());}buf.Append("]");return buf.ToString();}
