public class EnumeratedDescriptorStructure extends OSTypeStructure
The enumerated descriptor structure.
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_KEY
The enumerated descriptor key.
|
Constructor and Description |
---|
EnumeratedDescriptorStructure(ClassID keyName,
ClassID typeID,
ClassID enumName)
Initializes a new instance of the
EnumeratedDescriptorStructure class. |
Modifier and Type | Method and Description |
---|---|
ClassID |
getEnumName()
Gets or sets the enums name.
|
int |
getKey()
Gets the key.
|
int |
getLength()
Gets the
OSTypeStructure length in bytes. |
ClassID |
getTypeID()
Gets or sets the type ID.
|
void |
setEnumName(ClassID value) |
void |
setTypeID(ClassID value) |
getHeaderLength, getKeyName, save, saveWithoutKeyName, setKeyName
public static final int STRUCTURE_KEY
The enumerated descriptor key.
public int getKey()
Gets the key.
getKey
in class OSTypeStructure
public ClassID getTypeID()
Gets or sets the type ID.
Value: The type ID.public void setTypeID(ClassID value)
public ClassID getEnumName()
Gets or sets the enums name.
Value: The enums name.public void setEnumName(ClassID value)
public int getLength()
Gets the OSTypeStructure
length in bytes.
getLength
in class OSTypeStructure