Package org.orekit.gnss.metric.parser
Interface DataField
- All Known Implementing Classes:
IgsSsrDataField,RtcmDataField
public interface DataField
Interface for data fields used to parsed encoded messages.
- Since:
- 11.0
- Author:
- Bryan Cazabonne
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanbooleanValue(EncodedMessage message) Get the value of the field as a boolean.default doubledoubleValue(EncodedMessage message) Get the value of the field as a double.default intintValue(EncodedMessage message) Get the value of the field as an integer.default longlongValue(EncodedMessage message) Get the value of the field as a long.default longlongValue(EncodedMessage message, int n) Get the value of the field as a long.default StringstringValue(EncodedMessage message, int n) Get the value of the field as a String.
-
Method Details
-
booleanValue
Get the value of the field as a boolean.- Parameters:
message- message containing the data- Returns:
- boolean value of the field
-
intValue
Get the value of the field as an integer.- Parameters:
message- message containing the data- Returns:
- integer value of the field
-
longValue
Get the value of the field as a long.- Parameters:
message- message containing the data- Returns:
- long value of the field
-
longValue
Get the value of the field as a long.- Parameters:
message- message containing the datan- number of bits to decode- Returns:
- long value of the field
-
doubleValue
Get the value of the field as a double.- Parameters:
message- message containing the data- Returns:
- double value of the field
-
stringValue
Get the value of the field as a String.- Parameters:
message- message containing the datan- number of UTF8 characters- Returns:
- String value of the field
-