|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.rover.RoverBlockHeader
public class RoverBlockHeader
A four-byte header for blocks of rover binary data. Contains the RoverBlockCode describing the type of the entities in the block, the number of entities, and their graphic type.
This is a wrapper to provide an easy and standard way to interpret the values.
The layout is as follows, reading from left (high byte) to right (low byte):
Nonstandard or legacy rover binary formats may use a different byte representation; in those cases this is simply a data structure and not a required format.
Copyright 2008-2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
RoverBlockHeader(RoverBlockCode code,
int count,
int graphicTypeId)
|
|
RoverBlockHeader(RoverShape... shapes)
|
|
RoverBlockHeader(RoverShape shape)
|
|
| Method Summary | |
|---|---|
static RoverBlockHeader |
fromInt(int value)
Returns a header decoded from a four-byte integer value. |
RoverBlockCode |
getCode()
|
int |
getCount()
|
int |
getDrawId()
|
int |
toInt()
Returns the header encoded as a four-byte integer value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RoverBlockHeader(RoverBlockCode code,
int count,
int graphicTypeId)
public RoverBlockHeader(RoverShape shape)
public RoverBlockHeader(RoverShape... shapes)
| Method Detail |
|---|
public static RoverBlockHeader fromInt(int value)
public java.lang.String toString()
toString in class java.lang.Objectpublic int toInt()
public RoverBlockCode getCode()
public int getCount()
public int getDrawId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||