Public Member Functions | |
Value | getValue () |
Get value. More... | |
Mask | getMask () |
Get mask. More... | |
ByteView | getByteView () |
byte view. More... | |
int | getLevel () |
Get level. More... | |
int | getIteration () |
Get iteration. More... | |
int | getStartBytePos () |
Get start (byte). More... | |
int | getStartBitPos () |
Get start (bit). More... | |
int | getByteLength () |
Get length (bytes). More... | |
int | getBitLength () |
Get length (bits). More... | |
String | getName () |
Get name. More... | |
Structure | getStructure () |
Get structure. More... | |
Element | getElement () |
Get structure element. More... | |
The Result class.
Result objects are created during the structure mapping process. Depending on their type they refer to a structure or struct element and a value.
int getBitLength | ( | ) |
Get length (bits).
Returns the bit length of the result in the input file.
int getByteLength | ( | ) |
Get length (bytes).
Returns the byte length of the result in the input file.
ByteView getByteView | ( | ) |
byte view.
Returns the byte view object the result was created for. This is useful to access the raw data of large binary element results.
Element getElement | ( | ) |
Get structure element.
Returns the structure elementof the result. This is only valid if the result ist of type structure.
int getIteration | ( | ) |
Get iteration.
Returns the interation of a result in a sequence of repeated elements.
int getLevel | ( | ) |
Get level.
Returns the level of a result in the results tree.
Mask getMask | ( | ) |
Get mask.
Mask results refer to a mask object.
String getName | ( | ) |
Get name.
Returns the name of the result.
int getStartBitPos | ( | ) |
Get start (bit).
Returns the bit position of the result in the input file.
int getStartBytePos | ( | ) |
Get start (byte).
Returns the byte position of the result in the input file.
Structure getStructure | ( | ) |
Get structure.
Returns the structure of the result. This is only valid if the result ist of type structure.
Value getValue | ( | ) |
Get value.
Each result has a value.