Package org.blender.dna
Class PTCacheExtra
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.PTCacheExtra
-
public class PTCacheExtra extends CFacade
Generated facet for DNA struct type 'PTCacheExtra'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.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__totdata
Field descriptor (offset) for struct member 'totdata'.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 PTCacheExtra.-
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 PTCacheExtra(long __address, Block __block, BlockTable __blockTable)
protected
PTCacheExtra(PTCacheExtra that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<PTCacheExtra>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Object>
getData()
Get method for struct member 'data'.CPointer<PTCacheExtra>
getNext()
Get method for struct member 'next'.CPointer<PTCacheExtra>
getPrev()
Get method for struct member 'prev'.int
getTotdata()
Get method for struct member 'totdata'.int
getType()
Get method for struct member 'type'.void
setData(CPointer<java.lang.Object> data)
Set method for struct member 'data'.void
setNext(CPointer<PTCacheExtra> next)
Set method for struct member 'next'.void
setPrev(CPointer<PTCacheExtra> prev)
Set method for struct member 'prev'.void
setTotdata(int totdata)
Set method for struct member 'totdata'.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 PTCacheExtra.It is required when allocating a new block to store data for PTCacheExtra.
- 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:
PTCacheExtra ptcacheextra = ...; CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__DNA__FIELD__next); CPointer<CPointer<PTCacheExtra>> p_next = p.cast(new Class[]{CPointer.class, PTCacheExtra.class});
Metadata
- Field: 'next'
- Signature: 'PTCacheExtra*'
- 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:
PTCacheExtra ptcacheextra = ...; CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__DNA__FIELD__prev); CPointer<CPointer<PTCacheExtra>> p_prev = p.cast(new Class[]{CPointer.class, PTCacheExtra.class});
Metadata
- Field: 'prev'
- Signature: 'PTCacheExtra*'
- Actual Size (32bit/64bit): 4/8
-
__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:
PTCacheExtra ptcacheextra = ...; CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__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__totdata
public static final long[] __DNA__FIELD__totdata
Field descriptor (offset) for struct member 'totdata'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PTCacheExtra ptcacheextra = ...; CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__DNA__FIELD__totdata); CPointer<Integer> p_totdata = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totdata'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__data
public static final long[] __DNA__FIELD__data
Field descriptor (offset) for struct member 'data'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
PTCacheExtra ptcacheextra = ...; CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__DNA__FIELD__data); CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'data'
- Signature: 'void*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
PTCacheExtra
public PTCacheExtra(long __address, Block __block, BlockTable __blockTable)
-
PTCacheExtra
protected PTCacheExtra(PTCacheExtra that)
-
-
Method Detail
-
getNext
public CPointer<PTCacheExtra> 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<PTCacheExtra> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<PTCacheExtra> 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<PTCacheExtra> 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'.- 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'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
getTotdata
public int getTotdata() throws java.io.IOException
Get method for struct member 'totdata'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdata
-
setTotdata
public void setTotdata(int totdata) throws java.io.IOException
Set method for struct member 'totdata'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totdata
-
getData
public CPointer<java.lang.Object> getData() throws java.io.IOException
Get method for struct member 'data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
setData
public void setData(CPointer<java.lang.Object> data) throws java.io.IOException
Set method for struct member 'data'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__data
-
__io__addressof
public CPointer<PTCacheExtra> __io__addressof()
Instantiates a pointer on this instance.
-
-