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.
- Alphabetic
- By Inheritance
- TMCLocationReference
- Serializable
- Serializable
- Product
- Equals
- Method
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TMCLocationReference(locationID: Int, countryCode: Short, locationTableNumber: Short, direction: Boolean, bothDirections: Boolean, extent: Optional[Short], extendedCountryCode: Optional[Short], locationTableVersion: Optional[Long], preciseTMCInfo: Optional[PreciseTMCInformation])
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bothDirections: Boolean
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val countryCode: Short
- val direction: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extendedCountryCode: Option[Short]
- val extent: Option[Short]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCountryCode: Short
- def getExtendedCountryCode: Optional[Short]
- def getExtent: Optional[Short]
- def getLocationID: Int
- def getLocationTableNumber: Short
- def getLocationTableVersion: Optional[Long]
- def getPreciseTMCInfo: Optional[PreciseTMCInformation]
- def isBothDirections: Boolean
- def isDirection: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val locationID: Int
- val locationTableNumber: Short
- val locationTableVersion: Option[Long]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val preciseTMCInfo: Option[PreciseTMCInformation]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()