Class bUserMenu


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

        • Field: 'next'
        • Signature: 'bUserMenu*'
        • 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:

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

        Metadata

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

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

        Pointer Arithmetics

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

         bUserMenu busermenu = ...;
         CPointer<Object> p = busermenu.__dna__addressof(bUserMenu.__DNA__FIELD__space_type);
         CPointer<Byte> p_space_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'space_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         bUserMenu busermenu = ...;
         CPointer<Object> p = busermenu.__dna__addressof(bUserMenu.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
      • __DNA__FIELD__context

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

        Pointer Arithmetics

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

         bUserMenu busermenu = ...;
         CPointer<Object> p = busermenu.__dna__addressof(bUserMenu.__DNA__FIELD__context);
         CPointer<CArrayFacade<Byte>> p_context = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'context'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__items

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

        Field Documentation

        Blender Source Code

        bUserMenuItem

        Pointer Arithmetics

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

         bUserMenu busermenu = ...;
         CPointer<Object> p = busermenu.__dna__addressof(bUserMenu.__DNA__FIELD__items);
         CPointer<ListBase> p_items = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'items'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
    • Constructor Detail

      • bUserMenu

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

        protected bUserMenu​(bUserMenu that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<bUserMenu> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<bUserMenu> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getSpace_type

        public byte getSpace_type()
                           throws java.io.IOException
        Get method for struct member 'space_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__space_type
      • setSpace_type

        public void setSpace_type​(byte space_type)
                           throws java.io.IOException
        Set method for struct member 'space_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__space_type
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getContext

        public CArrayFacade<java.lang.Byte> getContext()
                                                throws java.io.IOException
        Get method for struct member 'context'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__context
      • setContext

        public void setContext​(CArrayFacade<java.lang.Byte> context)
                        throws java.io.IOException
        Set method for struct member 'context'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__context
      • getItems

        public ListBase getItems()
                          throws java.io.IOException
        Get method for struct member 'items'.

        Field Documentation

        Blender Source Code

        bUserMenuItem

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__items
      • setItems

        public void setItems​(ListBase items)
                      throws java.io.IOException
        Set method for struct member 'items'.

        Field Documentation

        Blender Source Code

        bUserMenuItem

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__items
      • __io__addressof

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