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