Package org.blender.dna
Class ViewerPathElem
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ViewerPathElem
-
public class ViewerPathElem extends CFacade
Generated facet for DNA struct type 'ViewerPathElem'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.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 ViewerPathElem.-
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 ViewerPathElem(long __address, Block __block, BlockTable __blockTable)
protected
ViewerPathElem(ViewerPathElem that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ViewerPathElem>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CPointer<ViewerPathElem>
getNext()
Get method for struct member 'next'.CPointer<ViewerPathElem>
getPrev()
Get method for struct member 'prev'.int
getType()
Get method for struct member 'type'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setNext(CPointer<ViewerPathElem> next)
Set method for struct member 'next'.void
setPrev(CPointer<ViewerPathElem> prev)
Set method for struct member 'prev'.void
setType(int 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 ViewerPathElem.It is required when allocating a new block to store data for ViewerPathElem.
- 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:
ViewerPathElem viewerpathelem = ...; CPointer<Object> p = viewerpathelem.__dna__addressof(ViewerPathElem.__DNA__FIELD__next); CPointer<CPointer<ViewerPathElem>> p_next = p.cast(new Class[]{CPointer.class, ViewerPathElem.class});
Metadata
- Field: 'next'
- Signature: 'ViewerPathElem*'
- 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:
ViewerPathElem viewerpathelem = ...; CPointer<Object> p = viewerpathelem.__dna__addressof(ViewerPathElem.__DNA__FIELD__prev); CPointer<CPointer<ViewerPathElem>> p_prev = p.cast(new Class[]{CPointer.class, ViewerPathElem.class});
Metadata
- Field: 'prev'
- Signature: 'ViewerPathElem*'
- 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 Python API
(read-only) Type of the path elementPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewerPathElem viewerpathelem = ...; CPointer<Object> p = viewerpathelem.__dna__addressof(ViewerPathElem.__DNA__FIELD__type); CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'type'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__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:
ViewerPathElem viewerpathelem = ...; CPointer<Object> p = viewerpathelem.__dna__addressof(ViewerPathElem.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ViewerPathElem
public ViewerPathElem(long __address, Block __block, BlockTable __blockTable)
-
ViewerPathElem
protected ViewerPathElem(ViewerPathElem that)
-
-
Method Detail
-
getNext
public CPointer<ViewerPathElem> 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<ViewerPathElem> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<ViewerPathElem> 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<ViewerPathElem> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getType
public int getType() throws java.io.IOException
Get method for struct member 'type'.Field Documentation
Blender Python API
(read-only) Type of the path element- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
setType
public void setType(int type) throws java.io.IOException
Set method for struct member 'type'.Field Documentation
Blender Python API
(read-only) Type of the path element- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
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<ViewerPathElem> __io__addressof()
Instantiates a pointer on this instance.
-
-