public class ObjectSpaceObjectStream extends Object implements IBinarySerializable, com.aspose.ms.System.IEquatable<ObjectSpaceObjectStream>
Gets the count and list of object spaces referenced by an ObjectSpaceObjectPropSet structure.
Constructor and Description |
---|
ObjectSpaceObjectStream(ObjectSpaceObjectStreamHeader header,
com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CompactId> body)
Initializes a new instance of the
ObjectSpaceObjectStream class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
The equals.
|
boolean |
equals(ObjectSpaceObjectStream other)
The equals.
|
com.aspose.ms.System.Collections.Generic.IGenericList<CompactId> |
getBody()
Gets a list of CompactID items where each element in the list specifies the identity of an object space.
|
ObjectSpaceObjectStreamHeader |
getHeader()
Gets the number of elements in the body field and whether the ObjectSpaceObjectPropSet structure contains ContextIDs field.
|
long |
getStructSize()
Gets the struct size.
|
int |
hashCode()
The get hash code.
|
static boolean |
op_Equality(ObjectSpaceObjectStream x,
ObjectSpaceObjectStream y)
The ==.
|
static boolean |
op_Inequality(ObjectSpaceObjectStream x,
ObjectSpaceObjectStream y)
The !=.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
public ObjectSpaceObjectStream(ObjectSpaceObjectStreamHeader header, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<CompactId> body)
Initializes a new instance of the ObjectSpaceObjectStream
class.
header
- The header.body
- The body.public ObjectSpaceObjectStreamHeader getHeader()
Gets the number of elements in the body field and whether the ObjectSpaceObjectPropSet structure contains ContextIDs field. The value of the header.OSIDStreamNotPresent field must be "false". If the ContextIDs field is present, the value of the header.ExtendedStreamsPresent field must be true; otherwise, it MUST be false.
public com.aspose.ms.System.Collections.Generic.IGenericList<CompactId> getBody()
Gets a list of CompactID items where each element in the list specifies the identity of an object space.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
T:byte[]
.com.aspose.ms.System.InvalidOperationException
public boolean equals(Object obj)
The equals.
equals
in interface com.aspose.ms.System.IEquatable<ObjectSpaceObjectStream>
equals
in class Object
public static boolean op_Equality(ObjectSpaceObjectStream x, ObjectSpaceObjectStream y)
The ==.
x
- The x.y
- The y.public static boolean op_Inequality(ObjectSpaceObjectStream x, ObjectSpaceObjectStream y)
The !=.
x
- The x.y
- The y.public boolean equals(ObjectSpaceObjectStream other)
The equals.
other
- The other.bool
.public int hashCode()
The get hash code.
Copyright (c) 2016 Aspose. All Rights Reserved.