Class SBVertex


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         SBVertex sbvertex = ...;
         CPointer<Object> p = sbvertex.__dna__addressof(SBVertex.__DNA__FIELD__vec);
         CPointer<CArrayFacade<Float>> p_vec = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'vec'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
    • Constructor Detail

      • SBVertex

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

        protected SBVertex​(SBVertex that)
    • Method Detail

      • getVec

        public CArrayFacade<java.lang.Float> getVec()
                                             throws java.io.IOException
        Get method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • setVec

        public void setVec​(CArrayFacade<java.lang.Float> vec)
                    throws java.io.IOException
        Set method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • __io__addressof

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