Class bUserMenuItem


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

    Class Documentation

    Blender Source Code

    May be part of bUserMenu or other list.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         bUserMenuItem busermenuitem = ...;
         CPointer<Object> p = busermenuitem.__dna__addressof(bUserMenuItem.__DNA__FIELD__ui_name);
         CPointer<CArrayFacade<Byte>> p_ui_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         bUserMenuItem busermenuitem = ...;
         CPointer<Object> p = busermenuitem.__dna__addressof(bUserMenuItem.__DNA__FIELD__type);
         CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: '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:

         bUserMenuItem busermenuitem = ...;
         CPointer<Object> p = busermenuitem.__dna__addressof(bUserMenuItem.__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
    • Constructor Detail

      • bUserMenuItem

        public bUserMenuItem​(long __address,
                             Block __block,
                             BlockTable __blockTable)
    • Method Detail

      • getUi_name

        public CArrayFacade<java.lang.Byte> getUi_name()
                                                throws java.io.IOException
        Get method for struct member 'ui_name'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ui_name
      • setUi_name

        public void setUi_name​(CArrayFacade<java.lang.Byte> ui_name)
                        throws java.io.IOException
        Set method for struct member 'ui_name'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ui_name
      • getType

        public byte getType()
                     throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(byte type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__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
      • __io__addressof

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