Class DEDamageDescriptionComponentVisualDamageStatus
java.lang.Object
java.util.BitSet
edu.nps.moves.dis7.pdus.DisBitSet
edu.nps.moves.dis7.enumerations.DEDamageDescriptionComponentVisualDamageStatus
- All Implemented Interfaces:
Marshaller
,Serializable
,Cloneable
Generated from XML,
UID 317, marshal size 8,
DEDamageDescriptionComponentVisualDamageStatus
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Internal class -
Field Summary
FieldsModifier and TypeFieldDescription(bit position 0, boolean) Describes presence of fire at the damage site(bit position 1, length=2) Describes presence of smoke emanating from the damage site, useComponentVisualDamageStatusSmoke
values for this field(bit position 3, length=2) Describes general surface appearance at the damage site, useComponentVisualDamageStatusSurfaceDamage
values for this field -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorDEDamageDescriptionComponentVisualDamageStatus
(DEDamageDescriptionComponentVisualDamageStatus.Bits wh, int value) Default constructor with parameters -
Method Summary
Modifier and TypeMethodDescriptionset
(int start, int length, int value) Some bitfields are defined without specific bits enumeratedset
(DEDamageDescriptionComponentVisualDamageStatus.Bits wh, int value) Accessor method to set valuetoString()
Provide string representationMethods inherited from class edu.nps.moves.dis7.pdus.DisBitSet
calculateMask, calculateMask, getMarshalledSize, marshal, marshal, marshallCommon, setbits, unmarshal, unmarshal
Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toLongArray, valueOf, valueOf, valueOf, valueOf, xor
-
Field Details
-
ISFIREPRESENT
(bit position 0, boolean) Describes presence of fire at the damage site -
SMOKE
(bit position 1, length=2) Describes presence of smoke emanating from the damage site, useComponentVisualDamageStatusSmoke
values for this field -
SURFACEDAMAGE
(bit position 3, length=2) Describes general surface appearance at the damage site, useComponentVisualDamageStatusSurfaceDamage
values for this field
-
-
Constructor Details
-
DEDamageDescriptionComponentVisualDamageStatus
public DEDamageDescriptionComponentVisualDamageStatus()Default constructor -
DEDamageDescriptionComponentVisualDamageStatus
public DEDamageDescriptionComponentVisualDamageStatus(DEDamageDescriptionComponentVisualDamageStatus.Bits wh, int value) Default constructor with parameters- Parameters:
wh
- Bits custom data structurevalue
- bits of interest
-
-
Method Details
-
set
public DEDamageDescriptionComponentVisualDamageStatus set(DEDamageDescriptionComponentVisualDamageStatus.Bits wh, int value) Accessor method to set value- Parameters:
wh
- Bits custom data structurevalue
- bits of interest- Returns:
- this object
-
set
Some bitfields are defined without specific bits enumerated- Parameters:
start
- initial position in bit arraylength
- number of bitsvalue
- bits of interest- Returns:
- this object
-
toString
-