Class hwloc_topology_diff_obj_attr_uint64_s

All Implemented Interfaces:
Pointer

public class hwloc_topology_diff_obj_attr_uint64_s extends Struct<hwloc_topology_diff_obj_attr_uint64_s>

 struct hwloc_topology_diff_obj_attr_uint64_s {
     hwloc_topology_diff_obj_attr_type_t type;
     hwloc_uint64_t index;
     hwloc_uint64_t oldvalue;
     hwloc_uint64_t newvalue;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int TYPE
      The struct member offsets.
    • INDEX

      public static final int INDEX
      The struct member offsets.
    • OLDVALUE

      public static final int OLDVALUE
      The struct member offsets.
    • NEWVALUE

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

    • hwloc_topology_diff_obj_attr_uint64_s

      public hwloc_topology_diff_obj_attr_uint64_s(ByteBuffer container)
      Creates a hwloc_topology_diff_obj_attr_uint64_s 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

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<hwloc_topology_diff_obj_attr_uint64_s>
    • type

      public int type()
      Returns:
      the value of the type field.
    • index

      public long index()
      Returns:
      the value of the index field.
    • oldvalue

      public long oldvalue()
      Returns:
      the value of the oldvalue field.
    • newvalue

      public long newvalue()
      Returns:
      the value of the newvalue field.
    • create

      public static hwloc_topology_diff_obj_attr_uint64_s create(long address)
      Returns a new hwloc_topology_diff_obj_attr_uint64_s instance for the specified memory address.
    • createSafe

      public static @Nullable hwloc_topology_diff_obj_attr_uint64_s createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static hwloc_topology_diff_obj_attr_uint64_s.Buffer create(long address, int capacity)
      Create a hwloc_topology_diff_obj_attr_uint64_s.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable hwloc_topology_diff_obj_attr_uint64_s.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • ntype

      public static int ntype(long struct)
      Unsafe version of type().
    • nindex

      public static long nindex(long struct)
      Unsafe version of index().
    • noldvalue

      public static long noldvalue(long struct)
      Unsafe version of oldvalue().
    • nnewvalue

      public static long nnewvalue(long struct)
      Unsafe version of newvalue().