org.ros.internal.message
Enum PrimitiveFieldType

java.lang.Object
  extended by java.lang.Enum<PrimitiveFieldType>
      extended by org.ros.internal.message.PrimitiveFieldType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PrimitiveFieldType>, FieldType

public enum PrimitiveFieldType
extends java.lang.Enum<PrimitiveFieldType>
implements FieldType


Enum Constant Summary
BOOL
           
BYTE
          Deprecated. replaced by INT8
CHAR
          Deprecated. replaced by UINT8
DURATION
           
FLOAT32
           
FLOAT64
           
INT16
           
INT32
           
INT64
           
INT8
           
STRING
           
TIME
           
UINT16
           
UINT32
           
UINT64
           
UINT8
           
 
Method Summary
static boolean existsFor(java.lang.String name)
           
 java.lang.String getMd5String()
           
 java.lang.String getName()
           
static PrimitiveFieldType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PrimitiveFieldType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ros.internal.message.FieldType
deserialize, getDefaultValue, getSerializedSize, parseFromString, serialize
 

Enum Constant Detail

BOOL

public static final PrimitiveFieldType BOOL

INT8

public static final PrimitiveFieldType INT8

BYTE

public static final PrimitiveFieldType BYTE
Deprecated. replaced by INT8

UINT8

public static final PrimitiveFieldType UINT8

CHAR

public static final PrimitiveFieldType CHAR
Deprecated. replaced by UINT8

INT16

public static final PrimitiveFieldType INT16

UINT16

public static final PrimitiveFieldType UINT16

INT32

public static final PrimitiveFieldType INT32

UINT32

public static final PrimitiveFieldType UINT32

INT64

public static final PrimitiveFieldType INT64

UINT64

public static final PrimitiveFieldType UINT64

FLOAT32

public static final PrimitiveFieldType FLOAT32

FLOAT64

public static final PrimitiveFieldType FLOAT64

STRING

public static final PrimitiveFieldType STRING

TIME

public static final PrimitiveFieldType TIME

DURATION

public static final PrimitiveFieldType DURATION
Method Detail

values

public static PrimitiveFieldType[] 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 (PrimitiveFieldType c : PrimitiveFieldType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PrimitiveFieldType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

existsFor

public static boolean existsFor(java.lang.String name)

getName

public java.lang.String getName()
Specified by:
getName in interface FieldType

getMd5String

public java.lang.String getMd5String()
Specified by:
getMd5String in interface FieldType