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