Class wmOperator
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.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 Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__customdata
Field descriptor (offset) for struct member 'customdata'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__idname
Field descriptor (offset) for struct member 'idname'.static long[]
__DNA__FIELD__layout
Field descriptor (offset) for struct member 'layout'.static long[]
__DNA__FIELD__macro
Field descriptor (offset) for struct member 'macro'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__opm
Field descriptor (offset) for struct member 'opm'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static long[]
__DNA__FIELD__properties
Field descriptor (offset) for struct member 'properties'.static long[]
__DNA__FIELD__ptr
Field descriptor (offset) for struct member 'ptr'.static long[]
__DNA__FIELD__py_instance
Field descriptor (offset) for struct member 'py_instance'.static long[]
__DNA__FIELD__reports
Field descriptor (offset) for struct member 'reports'.static long[]
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct wmOperator.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description wmOperator(long __address, Block __block, BlockTable __blockTable)
protected
wmOperator(wmOperator that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<wmOperator>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<java.lang.Object>
getCustomdata()
Get method for struct member 'customdata'.short
getFlag()
Get method for struct member 'flag'.CArrayFacade<java.lang.Byte>
getIdname()
Get method for struct member 'idname'.CPointer<java.lang.Object>
getLayout()
Get method for struct member 'layout'.ListBase
getMacro()
Get method for struct member 'macro'.CPointer<wmOperator>
getNext()
Get method for struct member 'next'.CPointer<wmOperator>
getOpm()
Get method for struct member 'opm'.CPointer<wmOperator>
getPrev()
Get method for struct member 'prev'.CPointer<IDProperty>
getProperties()
Get method for struct member 'properties'.CPointer<java.lang.Object>
getPtr()
Get method for struct member 'ptr'.CPointer<java.lang.Object>
getPy_instance()
Get method for struct member 'py_instance'.CPointer<ReportList>
getReports()
Get method for struct member 'reports'.CPointer<java.lang.Object>
getType()
Get method for struct member 'type'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setCustomdata(CPointer<java.lang.Object> customdata)
Set method for struct member 'customdata'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setIdname(CArrayFacade<java.lang.Byte> idname)
Set method for struct member 'idname'.void
setLayout(CPointer<java.lang.Object> layout)
Set method for struct member 'layout'.void
setMacro(ListBase macro)
Set method for struct member 'macro'.void
setNext(CPointer<wmOperator> next)
Set method for struct member 'next'.void
setOpm(CPointer<wmOperator> opm)
Set method for struct member 'opm'.void
setPrev(CPointer<wmOperator> prev)
Set method for struct member 'prev'.void
setProperties(CPointer<IDProperty> properties)
Set method for struct member 'properties'.void
setPtr(CPointer<java.lang.Object> ptr)
Set method for struct member 'ptr'.void
setPy_instance(CPointer<java.lang.Object> py_instance)
Set method for struct member 'py_instance'.void
setReports(CPointer<ReportList> reports)
Set method for struct member 'reports'.void
setType(CPointer<java.lang.Object> type)
Set method for struct member 'type'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
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. OP_MAX_TYPENAME
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
-
getNext
public CPointer<wmOperator> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
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
-
getPrev
public CPointer<wmOperator> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
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. OP_MAX_TYPENAME
- 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. OP_MAX_TYPENAME
- 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.
-
-