public final class OffsetStructure extends OSTypeStructure
The offset structure.
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_KEY
Identifies the structure key.
|
Constructor and Description |
---|
OffsetStructure(ClassID keyName,
ClassID classID)
Initializes a new instance of the
OffsetStructure class. |
Modifier and Type | Method and Description |
---|---|
ClassID |
getClassID()
Gets or sets the class ID.
|
String |
getClassName()
Gets or sets the class name.
|
int |
getKey()
Gets the structure key.
|
int |
getLength()
Gets the
OSTypeStructure length in bytes. |
int |
getValue()
Gets or sets the integer value.
|
void |
setClassID(ClassID value) |
void |
setClassName(String value) |
void |
setValue(int value) |
getHeaderLength, getKeyName, save, saveWithoutKeyName, setKeyName
public static final int STRUCTURE_KEY
Identifies the structure key.
public int getKey()
Gets the structure key.
getKey
in class OSTypeStructure
public String getClassName()
Gets or sets the class name.
Value: The class name.public void setClassName(String value)
public ClassID getClassID()
Gets or sets the class ID.
Value: The class ID.public void setClassID(ClassID value)
public int getValue()
Gets or sets the integer value.
Value: The integer value.public void setValue(int value)
public int getLength()
Gets the OSTypeStructure
length in bytes.
getLength
in class OSTypeStructure