Class wmOperator


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

    Class Documentation

    Blender Source Code

    This one is the operator itself, stored in files for macros etc. operator + operator-type should be able to redo entirely, but for different context's.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        saved Used to retrieve type pointer.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__idname);
         CPointer<CArrayFacade<Byte>> p_idname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Saved, user-settable properties.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__properties);
         CPointer<CPointer<IDProperty>> p_properties = p.cast(new Class[]{CPointer.class, IDProperty.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        runtime Operator type definition from idname.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__type);
         CPointer<CPointer<Object>> p_type = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'wmOperatorType*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__customdata

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

        Field Documentation

        Blender Source Code

        Custom storage, only while operator runs.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__customdata);
         CPointer<CPointer<Object>> p_customdata = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'customdata'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__py_instance

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

        Field Documentation

        Blender Source Code

        Python stores the class instance here.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__py_instance);
         CPointer<CPointer<Object>> p_py_instance = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'py_instance'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ptr

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

        Field Documentation

        Blender Source Code

        Rna pointer to access properties.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__ptr);
         CPointer<CPointer<Object>> p_ptr = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'ptr'
        • Signature: 'PointerRNA*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__reports

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

        Field Documentation

        Blender Source Code

        Errors and warnings storage.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__reports);
         CPointer<CPointer<ReportList>> p_reports = p.cast(new Class[]{CPointer.class, ReportList.class});
         

        Metadata

        • Field: 'reports'
        • Signature: 'ReportList*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__macro

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

        Field Documentation

        Blender Source Code

        List of operators, can be a tree.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__macro);
         CPointer<ListBase> p_macro = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'macro'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__opm

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

        Field Documentation

        Blender Source Code

        Current running macro, not saved.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__opm);
         CPointer<CPointer<wmOperator>> p_opm = p.cast(new Class[]{CPointer.class, wmOperator.class});
         

        Metadata

        • Field: 'opm'
        • Signature: 'wmOperator*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__layout

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

        Field Documentation

        Blender Source Code

        Runtime for drawing.

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__layout);
         CPointer<CPointer<Object>> p_layout = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'layout'
        • Signature: 'uiLayout*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         wmOperator wmoperator = ...;
         CPointer<Object> p = wmoperator.__dna__addressof(wmOperator.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
    • Constructor Detail

      • wmOperator

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

        protected wmOperator​(wmOperator that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<wmOperator> 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<wmOperator> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getIdname

        public CArrayFacade<java.lang.Byte> getIdname()
                                               throws java.io.IOException
        Get method for struct member 'idname'.

        Field Documentation

        Blender Source Code

        saved Used to retrieve type pointer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idname
      • setIdname

        public void setIdname​(CArrayFacade<java.lang.Byte> idname)
                       throws java.io.IOException
        Set method for struct member 'idname'.

        Field Documentation

        Blender Source Code

        saved Used to retrieve type pointer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idname
      • getProperties

        public CPointer<IDProperty> getProperties()
                                           throws java.io.IOException
        Get method for struct member 'properties'.

        Field Documentation

        Blender Source Code

        Saved, user-settable properties.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__properties
      • setProperties

        public void setProperties​(CPointer<IDProperty> properties)
                           throws java.io.IOException
        Set method for struct member 'properties'.

        Field Documentation

        Blender Source Code

        Saved, user-settable properties.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__properties
      • getType

        public CPointer<java.lang.Object> getType()
                                           throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Blender Source Code

        runtime Operator type definition from idname.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(CPointer<java.lang.Object> type)
                     throws java.io.IOException
        Set method for struct member 'type'.

        Field Documentation

        Blender Source Code

        runtime Operator type definition from idname.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getCustomdata

        public CPointer<java.lang.Object> getCustomdata()
                                                 throws java.io.IOException
        Get method for struct member 'customdata'.

        Field Documentation

        Blender Source Code

        Custom storage, only while operator runs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__customdata
      • setCustomdata

        public void setCustomdata​(CPointer<java.lang.Object> customdata)
                           throws java.io.IOException
        Set method for struct member 'customdata'.

        Field Documentation

        Blender Source Code

        Custom storage, only while operator runs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__customdata
      • getPy_instance

        public CPointer<java.lang.Object> getPy_instance()
                                                  throws java.io.IOException
        Get method for struct member 'py_instance'.

        Field Documentation

        Blender Source Code

        Python stores the class instance here.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__py_instance
      • setPy_instance

        public void setPy_instance​(CPointer<java.lang.Object> py_instance)
                            throws java.io.IOException
        Set method for struct member 'py_instance'.

        Field Documentation

        Blender Source Code

        Python stores the class instance here.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__py_instance
      • getPtr

        public CPointer<java.lang.Object> getPtr()
                                          throws java.io.IOException
        Get method for struct member 'ptr'.

        Field Documentation

        Blender Source Code

        Rna pointer to access properties.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ptr
      • setPtr

        public void setPtr​(CPointer<java.lang.Object> ptr)
                    throws java.io.IOException
        Set method for struct member 'ptr'.

        Field Documentation

        Blender Source Code

        Rna pointer to access properties.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ptr
      • getReports

        public CPointer<ReportList> getReports()
                                        throws java.io.IOException
        Get method for struct member 'reports'.

        Field Documentation

        Blender Source Code

        Errors and warnings storage.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reports
      • setReports

        public void setReports​(CPointer<ReportList> reports)
                        throws java.io.IOException
        Set method for struct member 'reports'.

        Field Documentation

        Blender Source Code

        Errors and warnings storage.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reports
      • getMacro

        public ListBase getMacro()
                          throws java.io.IOException
        Get method for struct member 'macro'.

        Field Documentation

        Blender Source Code

        List of operators, can be a tree.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__macro
      • setMacro

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

        Field Documentation

        Blender Source Code

        List of operators, can be a tree.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__macro
      • getOpm

        public CPointer<wmOperator> getOpm()
                                    throws java.io.IOException
        Get method for struct member 'opm'.

        Field Documentation

        Blender Source Code

        Current running macro, not saved.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__opm
      • setOpm

        public void setOpm​(CPointer<wmOperator> opm)
                    throws java.io.IOException
        Set method for struct member 'opm'.

        Field Documentation

        Blender Source Code

        Current running macro, not saved.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__opm
      • getLayout

        public CPointer<java.lang.Object> getLayout()
                                             throws java.io.IOException
        Get method for struct member 'layout'.

        Field Documentation

        Blender Source Code

        Runtime for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layout
      • setLayout

        public void setLayout​(CPointer<java.lang.Object> layout)
                       throws java.io.IOException
        Set method for struct member 'layout'.

        Field Documentation

        Blender Source Code

        Runtime for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layout
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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