public class ObjectDeclaration2RefCountFnd extends FileNodeReference<ObjectDeclaration2RefCountFnd>
It structure that specifies an object with a reference count.
Modifier and Type | Field and Description |
---|---|
static byte |
CountReferencesFieldSize
size of CountReferences field.
|
Constructor and Description |
---|
ObjectDeclaration2RefCountFnd(FileNodeHeader header,
FileNodeChunkReference reference,
ObjectDeclaration2Body body,
byte countReferences,
ObjectSpaceObjectPropSet propSet)
Initializes a new instance of the
ObjectDeclaration2RefCountFnd class. |
Modifier and Type | Method and Description |
---|---|
void |
accept(IFileNodeVisitor visitor)
The accept.
|
boolean |
equals(ObjectDeclaration2RefCountFnd other)
The equals.
|
ObjectDeclaration2Body |
getBody()
Gets the identity and other attributes of this object.
|
byte |
getCountReferences()
Gets the reference count for this object.
|
ObjectSpaceObjectPropSet |
getPropSet()
Gets the value of an ObjectSpaceObjectPropSet structure.
|
long |
getStructSize()
Gets the struct size.
|
byte[] |
toByteArray()
The to byte array.
|
String |
toString()
The to string.
|
void |
writeRefData(RevisionBinaryFileWriter writer)
The write ref data.
|
getReference, setReference
public static final byte CountReferencesFieldSize
size of CountReferences field.
public ObjectDeclaration2RefCountFnd(FileNodeHeader header, FileNodeChunkReference reference, ObjectDeclaration2Body body, byte countReferences, ObjectSpaceObjectPropSet propSet)
Initializes a new instance of the ObjectDeclaration2RefCountFnd
class.
header
- The header.reference
- The reference.body
- The body.countReferences
- The count references.propSet
- The prop set.public ObjectDeclaration2Body getBody()
Gets the identity and other attributes of this object.
public byte getCountReferences()
Gets the reference count for this object.
public ObjectSpaceObjectPropSet getPropSet()
Gets the value of an ObjectSpaceObjectPropSet structure.
public long getStructSize()
Gets the struct size.
getStructSize
in interface IBinarySerializable
getStructSize
in class FileNode<ObjectDeclaration2RefCountFnd>
public void accept(IFileNodeVisitor visitor)
The accept.
accept
in interface IFileNode
accept
in class FileNode<ObjectDeclaration2RefCountFnd>
visitor
- The visitor.public void writeRefData(RevisionBinaryFileWriter writer)
The write ref data.
writeRefData
in class FileNodeReference<ObjectDeclaration2RefCountFnd>
writer
- The writer.public byte[] toByteArray()
The to byte array.
toByteArray
in interface IBinarySerializable
toByteArray
in class FileNode<ObjectDeclaration2RefCountFnd>
T:byte[]
.com.aspose.ms.System.InvalidOperationException
- Incorrect buffer size.public boolean equals(ObjectDeclaration2RefCountFnd other)
The equals.
other
- The other.bool
.Copyright (c) 2016 Aspose. All Rights Reserved.