public final class ClassStructure extends OSTypeStructure
The class structure.
Modifier and Type | Field and Description |
---|---|
static int |
STRUCTURE_KEY_CLSS
Identifies the structure key.
|
static int |
STRUCTURE_KEY_GLBC
Identifies the structure key.
|
static int |
STRUCTURE_KEY_TYPE
Identifies the structure key.
|
Constructor and Description |
---|
ClassStructure(ClassID keyName,
ClassID classID,
int structureKey)
Initializes a new instance of the
ClassStructure 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. |
void |
setClassID(ClassID value) |
void |
setClassName(String value) |
getHeaderLength, getKeyName, save, saveWithoutKeyName, setKeyName
public static final int STRUCTURE_KEY_CLSS
Identifies the structure key.
public static final int STRUCTURE_KEY_TYPE
Identifies the structure key.
public static final int STRUCTURE_KEY_GLBC
Identifies the structure key.
public ClassID getClassID()
Gets or sets the class ID.
Value: The class ID.public void setClassID(ClassID value)
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 int getLength()
Gets the OSTypeStructure
length in bytes.
getLength
in class OSTypeStructure