Class ParSLSpineList

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class ParSLSpineList extends Struct<ParSLSpineList> implements NativeResource

 struct parsl_spine_list {
     uint32_t num_vertices;
     uint16_t num_spines;
     {@link ParSLPosition parsl_position} * vertices;
     uint16_t * spine_lengths;
     bool closed;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • NUM_VERTICES

      public static final int NUM_VERTICES
      The struct member offsets.
    • NUM_SPINES

      public static final int NUM_SPINES
      The struct member offsets.
    • VERTICES

      public static final int VERTICES
      The struct member offsets.
    • SPINE_LENGTHS

      public static final int SPINE_LENGTHS
      The struct member offsets.
    • CLOSED

      public static final int CLOSED
      The struct member offsets.
  • Constructor Details

    • ParSLSpineList

      public ParSLSpineList(ByteBuffer container)
      Creates a ParSLSpineList instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details