Public Member Functions | |
Value | getValue () |
Get value. Each result has a value and refers to a structure element. | |
int | getLevel () |
Get level. Returns the level of a result in the results tree. | |
int | getIteration () |
Get iteration. Returns the interation of a result in a sequence of repeated elements. | |
int | getStartBytePos () |
Get start (byte). Returns the byte position of the result in the input file. | |
int | getStartBitPos () |
Get start (bit). Returns the bit position of the result in the input file. | |
int | getByteLength () |
Get length (bytes). Returns the byte length of the result in the input file. | |
int | getBitLength () |
Get length (bits). Returns the bit length of the result in the input file. | |
int | getName () |
Get name. Returns the name of the result. | |
Structure | getStructure () |
Get structure. Returns the structure of the result. This is only valid if the result ist of type structure. | |
Element | getElement () |
Get structure element. Returns the structure elementof the result. This is only valid if the result ist of type structure. | |
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.
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.
int 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 and refers to a structure element.