Package org.orekit.files.ccsds.ndm.tdm
Enum TdmDataKey
- java.lang.Object
-
- java.lang.Enum<TdmDataKey>
-
- org.orekit.files.ccsds.ndm.tdm.TdmDataKey
-
- All Implemented Interfaces:
Serializable
,Comparable<TdmDataKey>
public enum TdmDataKey extends Enum<TdmDataKey>
Keys forTDM observations
entries, except the measurements themselves.- Since:
- 11.0
- Author:
- Maxime Journot
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
Comment entry.EPOCH
Epoch entry.observation
Observation wrapper.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
process(ParseToken token, ContextBinding context, ObservationsBlock observationsBlock)
Process one token.static TdmDataKey
valueOf(String name)
Returns the enum constant of this type with the specified name.static TdmDataKey[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
observation
public static final TdmDataKey observation
Observation wrapper.
-
COMMENT
public static final TdmDataKey COMMENT
Comment entry.
-
EPOCH
public static final TdmDataKey EPOCH
Epoch entry.
-
-
Method Detail
-
values
public static TdmDataKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TdmDataKey c : TdmDataKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TdmDataKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
process
public boolean process(ParseToken token, ContextBinding context, ObservationsBlock observationsBlock)
Process one token.- Parameters:
token
- token to processcontext
- context bindingobservationsBlock
- observation block to fill- Returns:
- true if token was accepted
-
-