Package org.orekit.files.ilrs
Enum CRDHeader.RangeType
- java.lang.Object
-
- java.lang.Enum<CRDHeader.RangeType>
-
- org.orekit.files.ilrs.CRDHeader.RangeType
-
- All Implemented Interfaces:
Serializable
,Comparable<CRDHeader.RangeType>
- Enclosing class:
- CRDHeader
public static enum CRDHeader.RangeType extends Enum<CRDHeader.RangeType>
Range type for SLR data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIXED
Mixed.NO_RANGES
No ranges (i.e.ONE_WAY
One-way ranging.RECEIVED_ONLY
Received times only.TWO_WAY
Two-way ranging.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIndicator()
Get the range type indicator.static CRDHeader.RangeType
getRangeType(int id)
Get the range type for the given indicator.static CRDHeader.RangeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CRDHeader.RangeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_RANGES
public static final CRDHeader.RangeType NO_RANGES
No ranges (i.e. transmit time only).
-
ONE_WAY
public static final CRDHeader.RangeType ONE_WAY
One-way ranging.
-
TWO_WAY
public static final CRDHeader.RangeType TWO_WAY
Two-way ranging.
-
RECEIVED_ONLY
public static final CRDHeader.RangeType RECEIVED_ONLY
Received times only.
-
MIXED
public static final CRDHeader.RangeType MIXED
Mixed.
-
-
Method Detail
-
values
public static CRDHeader.RangeType[] 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 (CRDHeader.RangeType c : CRDHeader.RangeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CRDHeader.RangeType 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
-
getIndicator
public int getIndicator()
Get the range type indicator.- Returns:
- the range type indicator
-
getRangeType
public static CRDHeader.RangeType getRangeType(int id)
Get the range type for the given indicator.- Parameters:
id
- indicator- Returns:
- the range type corresponding to the indicator
-
-