Class CXIdxObjCProtocolRefListInfo

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<CXIdxObjCProtocolRefListInfo>
org.lwjgl.llvm.CXIdxObjCProtocolRefListInfo
All Implemented Interfaces:
org.lwjgl.system.Pointer

public class CXIdxObjCProtocolRefListInfo extends org.lwjgl.system.Struct<CXIdxObjCProtocolRefListInfo>

Layout


 struct CXIdxObjCProtocolRefListInfo {
     CXIdxObjCProtocolRefInfo const * const * protocols;
     unsigned numProtocols;
 }
  • Field Details

    • SIZEOF

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

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

      public static final int PROTOCOLS
      The struct member offsets.
    • NUMPROTOCOLS

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

    • CXIdxObjCProtocolRefListInfo

      public CXIdxObjCProtocolRefListInfo(ByteBuffer container)
      Creates a CXIdxObjCProtocolRefListInfo 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()
      Specified by:
      sizeof in class org.lwjgl.system.Struct<CXIdxObjCProtocolRefListInfo>
    • protocols

      public org.lwjgl.PointerBuffer protocols()
      Returns:
      a PointerBuffer view of the data pointed to by the protocols field.
    • numProtocols

      public int numProtocols()
      Returns:
      the value of the numProtocols field.
    • create

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

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

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

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

      public static org.lwjgl.PointerBuffer nprotocols(long struct)
      Unsafe version of protocols.
    • nnumProtocols

      public static int nnumProtocols(long struct)
      Unsafe version of numProtocols().