Package org.robwork.sdurw_core
Class PropertyType
- java.lang.Object
-
- org.robwork.sdurw_core.PropertyType
-
public class PropertyType extends java.lang.Object
Represents type of a property
PropertyType has a number of predefined property types. Besides it generates unique
id's for new user defined types
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PropertyType.Types
Predefined types
-
Constructor Summary
Constructors Constructor Description PropertyType()
brief Constructs PropertyType with type UNKNOWNPropertyType(int id)
Construct PropertyType with the specified type
PropertyType(long cPtr, boolean cMemoryOwn)
-
Method Summary
-
-
-
Constructor Detail
-
PropertyType
public PropertyType(long cPtr, boolean cMemoryOwn)
-
PropertyType
public PropertyType()
brief Constructs PropertyType with type UNKNOWN
-
PropertyType
public PropertyType(int id)
Construct PropertyType with the specified type
- Parameters:
id
- [in] either one of the predefined types or a user defined
type, generated by getNewID().
-
-
Method Detail
-
getCPtr
public static long getCPtr(PropertyType obj)
-
delete
public void delete()
-
getNewID
public static int getNewID()
Constructs a new ID for a property type. The ID will be unique- Returns:
- the id
-
getId
public int getId()
Returns id of the type- Returns:
- the id
-
getType
public static PropertyType getType(PropertyMap value)
Get the type of a value resolved at compile time.- Parameters:
value
- [in] the value to deduct type for.- Returns:
- the PropertyType corresponding to the type of the given value.
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__core__PtrT_rw__core__PropertyMap_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(VectorPropertyValueBasePtr value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(java.lang.String value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(float value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(double value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(int value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(boolean value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__Vector3DT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__Vector2DT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__Q value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__Transform3DT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__Rotation3DT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__RPYT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__EAAT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__QuaternionT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__Rotation2DT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__math__VelocityScrew6DT_double_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__trajectory__PathT_rw__math__Q_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__core__PtrT_rw__trajectory__PathT_rw__math__Q_t_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__trajectory__PathT_rw__math__Transform3DT_double_t_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(SWIGTYPE_p_rw__core__PtrT_rw__trajectory__PathT_rw__math__Transform3DT_double_t_t_t value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(vector_s value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(vector_i value)
rw::core::PropertyMap&)
-
getType
public static PropertyType getType(vector_d value)
rw::core::PropertyMap&)
-
-