Class SDefVert


  • public class SDefVert
    extends CFacade
    Generated facet for DNA struct type 'SDefVert'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct SDefVert.

        It is required when allocating a new block to store data for SDefVert.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__binds

        public static final long[] __DNA__FIELD__binds
        Field descriptor (offset) for struct member 'binds'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SDefVert sdefvert = ...;
         CPointer<Object> p = sdefvert.__dna__addressof(SDefVert.__DNA__FIELD__binds);
         CPointer<CPointer<SDefBind>> p_binds = p.cast(new Class[]{CPointer.class, SDefBind.class});
         

        Metadata

        • Field: 'binds'
        • Signature: 'SDefBind*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__numbinds

        public static final long[] __DNA__FIELD__numbinds
        Field descriptor (offset) for struct member 'numbinds'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SDefVert sdefvert = ...;
         CPointer<Object> p = sdefvert.__dna__addressof(SDefVert.__DNA__FIELD__numbinds);
         CPointer<Integer> p_numbinds = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'numbinds'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__vertex_idx

        public static final long[] __DNA__FIELD__vertex_idx
        Field descriptor (offset) for struct member 'vertex_idx'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SDefVert sdefvert = ...;
         CPointer<Object> p = sdefvert.__dna__addressof(SDefVert.__DNA__FIELD__vertex_idx);
         CPointer<Integer> p_vertex_idx = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'vertex_idx'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • SDefVert

        public SDefVert​(long __address,
                        Block __block,
                        BlockTable __blockTable)
      • SDefVert

        protected SDefVert​(SDefVert that)
    • Method Detail

      • setBinds

        public void setBinds​(CPointer<SDefBind> binds)
                      throws java.io.IOException
        Set method for struct member 'binds'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__binds
      • getNumbinds

        public int getNumbinds()
                        throws java.io.IOException
        Get method for struct member 'numbinds'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numbinds
      • setNumbinds

        public void setNumbinds​(int numbinds)
                         throws java.io.IOException
        Set method for struct member 'numbinds'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__numbinds
      • getVertex_idx

        public int getVertex_idx()
                          throws java.io.IOException
        Get method for struct member 'vertex_idx'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_idx
      • setVertex_idx

        public void setVertex_idx​(int vertex_idx)
                           throws java.io.IOException
        Set method for struct member 'vertex_idx'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vertex_idx
      • __io__addressof

        public CPointer<SDefVert> __io__addressof()
        Instantiates a pointer on this instance.