Class CollectionChild


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         CollectionChild collectionchild = ...;
         CPointer<Object> p = collectionchild.__dna__addressof(CollectionChild.__DNA__FIELD__next);
         CPointer<CPointer<CollectionChild>> p_next = p.cast(new Class[]{CPointer.class, CollectionChild.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'CollectionChild*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         CollectionChild collectionchild = ...;
         CPointer<Object> p = collectionchild.__dna__addressof(CollectionChild.__DNA__FIELD__prev);
         CPointer<CPointer<CollectionChild>> p_prev = p.cast(new Class[]{CPointer.class, CollectionChild.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'CollectionChild*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__collection

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

        Pointer Arithmetics

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

         CollectionChild collectionchild = ...;
         CPointer<Object> p = collectionchild.__dna__addressof(CollectionChild.__DNA__FIELD__collection);
         CPointer<CPointer<Collection>> p_collection = p.cast(new Class[]{CPointer.class, Collection.class});
         

        Metadata

        • Field: 'collection'
        • Signature: 'Collection*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • CollectionChild

        public CollectionChild​(long __address,
                               Block __block,
                               BlockTable __blockTable)