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
All Methods Instance Methods Default Methods Modifier and Type Method Description default boolean
booleanValue(EncodedMessage message)
Get the value of the field as a boolean.default double
doubleValue(EncodedMessage message)
Get the value of the field as a double.default int
intValue(EncodedMessage message)
Get the value of the field as an integer.default String
stringValue(EncodedMessage message, int n)
Get the value of the field as a String.
-
-
-
Method Detail
-
booleanValue
default boolean booleanValue(EncodedMessage message)
Get the value of the field as a boolean.- Parameters:
message
- message containing the data- Returns:
- boolean value of the field
-
intValue
default int intValue(EncodedMessage message)
Get the value of the field as an integer.- Parameters:
message
- message containing the data- Returns:
- integer value of the field
-
doubleValue
default double doubleValue(EncodedMessage message)
Get the value of the field as a double.- Parameters:
message
- message containing the data- Returns:
- double value of the field
-
stringValue
default String stringValue(EncodedMessage message, int n)
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
-
-