sealed trait Tgi extends LabeledTgi
Represents Type, Group, Instance identifiers of DbpfEntries
.
Tgi
objects are immutable.
Instances of this class may be obtained via the companion object's apply
method, for example:
val tgi = Tgi(0, 0, 0x12345678)
Alternatively, the copy
methods can be used to create modified copies.
tgi.copy(iid = 0x87654321)
tgi.copy(Tgi.Sc4Path)
The matches method is used to test whether a Tgi
matches another Tgi
object or TgiMask
.
- Source
- tgi.scala
- Alphabetic
- By Inheritance
- Tgi
- LabeledTgi
- TgiLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Abstract Value Members
Concrete 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
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
copy(tid: Int = tid, gid: Int = gid, iid: Int = iid): Tgi
Creates a new
Tgi
from this object with the specified parameters replaced. -
def
copy(mask: TgiMask): Tgi
Creates a new
Tgi
from this object with the non-None
parameters ofmask
replaced.Creates a new
Tgi
from this object with the non-None
parameters ofmask
replaced. For example,copy(Tgi.Sc4Path)
would replace thetid
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(obj: Any): Boolean
- Definition Classes
- TgiLike → AnyRef → Any
-
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()
-
final
def
hashCode(): Int
- Definition Classes
- TgiLike → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
label: String
a descriptive label specifying the general type like
Exemplar
,S3D
orUnknown
.a descriptive label specifying the general type like
Exemplar
,S3D
orUnknown
.- Definition Classes
- Tgi → LabeledTgi
-
def
matches(tgi: TgiLike): Boolean
Tests if all the IDs match the non-masked IDs of
tgi
. -
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Tgi → AnyRef → Any
-
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()