Packages

c

com.here.platform.location.tpeg2.tmc

TMCLocationReference

case class TMCLocationReference(locationID: Int, countryCode: Short, locationTableNumber: Short, direction: Boolean, bothDirections: Boolean, extent: Option[Short], extendedCountryCode: Option[Short], locationTableVersion: Option[Long], preciseTMCInfo: Option[PreciseTMCInformation]) extends Method with Product with Serializable

A TMC location reference as specified in ISO 17572. Additionally, it supports flags to indicate whether the internal location parts of the primary and the secondary location are also included.

locationID

The number of the of the primary location in the location table. It is an unsigned 16-bit integer, that is a number between 1 and 65535. It is customarily represented as a decimal number.

countryCode

The country code is used to identify the correct location table. This is a number between 1 and 15. It is customarily represented as a single hexadecimal digit.

locationTableNumber

The number of the location table. This is a number between 1-63. It is customarily represented as a two digit decimal number.

direction

Indicates whether to follow the positive direction (true) to go from primary to secondary or whether to follow the negative direction (false).

bothDirections

Indicates whether both directions are considered part of the referenced location.

extent

Number of locations along the linear to get from the primary location to the secondary location following the direction given in direction. A value of None is equivalent to Some(0) and means that only the internal of the primary location is part of the referenced location.

extendedCountryCode

The extended country code is used to identify the table. It is an unsigned 8-bit integer. It is customarily represented as a two digit hexadecimal number.

locationTableVersion

A variable length representation of the table version. If one byte is used then there are 4 bits for the major version and 3 bits for the minor version. If two bytes are used the there are 7 bits for the minor and 7 bits for the major version.

preciseTMCInfo

Offsets to give a more precise location.

Linear Supertypes
Serializable, Serializable, Product, Equals, Method, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TMCLocationReference
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Method
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TMCLocationReference(locationID: Int, countryCode: Short, locationTableNumber: Short, direction: Boolean, bothDirections: Boolean, extent: Optional[Short], extendedCountryCode: Optional[Short], locationTableVersion: Optional[Long], preciseTMCInfo: Optional[PreciseTMCInformation])
  2. new TMCLocationReference(locationID: Int, countryCode: Short, locationTableNumber: Short, direction: Boolean, bothDirections: Boolean, extent: Option[Short], extendedCountryCode: Option[Short], locationTableVersion: Option[Long], preciseTMCInfo: Option[PreciseTMCInformation])

    locationID

    The number of the of the primary location in the location table. It is an unsigned 16-bit integer, that is a number between 1 and 65535. It is customarily represented as a decimal number.

    countryCode

    The country code is used to identify the correct location table. This is a number between 1 and 15. It is customarily represented as a single hexadecimal digit.

    locationTableNumber

    The number of the location table. This is a number between 1-63. It is customarily represented as a two digit decimal number.

    direction

    Indicates whether to follow the positive direction (true) to go from primary to secondary or whether to follow the negative direction (false).

    bothDirections

    Indicates whether both directions are considered part of the referenced location.

    extent

    Number of locations along the linear to get from the primary location to the secondary location following the direction given in direction. A value of None is equivalent to Some(0) and means that only the internal of the primary location is part of the referenced location.

    extendedCountryCode

    The extended country code is used to identify the table. It is an unsigned 8-bit integer. It is customarily represented as a two digit hexadecimal number.

    locationTableVersion

    A variable length representation of the table version. If one byte is used then there are 4 bits for the major version and 3 bits for the minor version. If two bytes are used the there are 7 bits for the minor and 7 bits for the major version.

    preciseTMCInfo

    Offsets to give a more precise location.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bothDirections: Boolean
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. val countryCode: Short
  8. val direction: Boolean
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. val extendedCountryCode: Option[Short]
  11. val extent: Option[Short]
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getCountryCode: Short
  15. def getExtendedCountryCode: Optional[Short]
  16. def getExtent: Optional[Short]
  17. def getLocationID: Int
  18. def getLocationTableNumber: Short
  19. def getLocationTableVersion: Optional[Long]
  20. def getPreciseTMCInfo: Optional[PreciseTMCInformation]
  21. def isBothDirections: Boolean
  22. def isDirection: Boolean
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. val locationID: Int
  25. val locationTableNumber: Short
  26. val locationTableVersion: Option[Long]
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. val preciseTMCInfo: Option[PreciseTMCInformation]
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Method

Inherited from AnyRef

Inherited from Any

Ungrouped