Package org.yamcs
Class ContainerExtractionResult
java.lang.Object
org.yamcs.ContainerExtractionResult
Holds the definition of a container, the content of its slice and some positioning information inside that slice
-
Constructor Summary
ConstructorDescriptionContainerExtractionResult
(SequenceContainer container, byte[] containerContent, int offset, int bitPosition, long acquisitionTime, long generationTime, int seqCount, boolean derivedFromRoot) -
Method Summary
Modifier and TypeMethodDescriptionlong
byte[]
long
int
int
int
boolean
Return true if this inherits (directly or indirectly) from the root container.toString()
-
Constructor Details
-
ContainerExtractionResult
public ContainerExtractionResult(SequenceContainer container, byte[] containerContent, int offset, int bitPosition, long acquisitionTime, long generationTime, int seqCount, boolean derivedFromRoot)
-
-
Method Details
-
getContainer
-
getContainerContent
public byte[] getContainerContent() -
getLocationInContainerInBits
public int getLocationInContainerInBits()- Returns:
- the position in bits where the entries defined in this container start
-
getOffset
public int getOffset()- Returns:
- the position in bytes where this container including parent hierarchy starts
-
getAcquisitionTime
public long getAcquisitionTime() -
getGenerationTime
public long getGenerationTime() -
isDerivedFromRoot
public boolean isDerivedFromRoot()Return true if this inherits (directly or indirectly) from the root container.Return false if this does not inherit from the root container - that means is obtained through container composition rather than inheritance
-
getSeqCount
public int getSeqCount() -
toString
-