Class bUserMenuItem_Op


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bUserMenuItem_Op busermenuitem_op = ...;
         CPointer<Object> p = busermenuitem_op.__dna__addressof(bUserMenuItem_Op.__DNA__FIELD__item);
         CPointer<bUserMenuItem> p_item = p.cast(new Class[]{bUserMenuItem.class});
         

        Metadata

        • Field: 'item'
        • Signature: 'bUserMenuItem'
        • Actual Size (32bit/64bit): 80/88
      • __DNA__FIELD__op_idname

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

        Pointer Arithmetics

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

         bUserMenuItem_Op busermenuitem_op = ...;
         CPointer<Object> p = busermenuitem_op.__dna__addressof(bUserMenuItem_Op.__DNA__FIELD__op_idname);
         CPointer<CArrayFacade<Byte>> p_op_idname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         bUserMenuItem_Op busermenuitem_op = ...;
         CPointer<Object> p = busermenuitem_op.__dna__addressof(bUserMenuItem_Op.__DNA__FIELD__prop);
         CPointer<CPointer<IDProperty>> p_prop = p.cast(new Class[]{CPointer.class, IDProperty.class});
         

        Metadata

        • Field: 'prop'
        • Signature: 'IDProperty*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__opcontext

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

        Field Documentation

        Blender Source Code

        #wmOperatorCallContext

        Pointer Arithmetics

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

         bUserMenuItem_Op busermenuitem_op = ...;
         CPointer<Object> p = busermenuitem_op.__dna__addressof(bUserMenuItem_Op.__DNA__FIELD__opcontext);
         CPointer<Byte> p_opcontext = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'opcontext'
        • 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_Op busermenuitem_op = ...;
         CPointer<Object> p = busermenuitem_op.__dna__addressof(bUserMenuItem_Op.__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_Op

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

      • getItem

        public bUserMenuItem getItem()
                              throws java.io.IOException
        Get method for struct member 'item'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__item
      • setItem

        public void setItem​(bUserMenuItem item)
                     throws java.io.IOException
        Set method for struct member 'item'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__item
      • getOp_idname

        public CArrayFacade<java.lang.Byte> getOp_idname()
                                                  throws java.io.IOException
        Get method for struct member 'op_idname'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__op_idname
      • setOp_idname

        public void setOp_idname​(CArrayFacade<java.lang.Byte> op_idname)
                          throws java.io.IOException
        Set method for struct member 'op_idname'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__op_idname
      • setProp

        public void setProp​(CPointer<IDProperty> prop)
                     throws java.io.IOException
        Set method for struct member 'prop'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prop
      • getOpcontext

        public byte getOpcontext()
                          throws java.io.IOException
        Get method for struct member 'opcontext'.

        Field Documentation

        Blender Source Code

        #wmOperatorCallContext

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__opcontext
      • setOpcontext

        public void setOpcontext​(byte opcontext)
                          throws java.io.IOException
        Set method for struct member 'opcontext'.

        Field Documentation

        Blender Source Code

        #wmOperatorCallContext

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__opcontext
      • 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