| Modifier and Type | Field and Description |
|---|---|
protected int |
offset |
| Constructor and Description |
|---|
FieldDouble(java.lang.String structName,
int fieldNumber) |
| Modifier and Type | Method and Description |
|---|---|
double |
get(Nd nd,
long address) |
java.lang.String |
getFieldName()
Returns the name of the field.
|
int |
getOffset()
Returns the field offset, in bytes from the start of the struct.
|
int |
getRecordSize()
Returns the size of the field, in bytes.
|
void |
put(Nd nd,
long address,
double newValue) |
protected void |
setFieldName(java.lang.String fieldName) |
void |
setOffset(int offset)
Sets the field offset (bytes from the start of the struct).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlignmentpublic double get(Nd nd, long address)
public void put(Nd nd, long address, double newValue)
public int getRecordSize()
IFieldprotected final void setFieldName(java.lang.String fieldName)
public final void setOffset(int offset)
IFieldpublic final int getOffset()
IFieldpublic final java.lang.String getFieldName()
IFieldgetFieldName in interface IField