Package org.blender.dna
Class Link
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Link
-
public class Link extends CFacade
Generated facet for DNA struct type 'Link'.Class Documentation
Java .Blend
generic - all structs which are put into linked lists begin with this.Blender Source Code
Generic - all structs which are put into linked lists begin with this.
-
-
Field Summary
Fields Modifier and Type Field Description 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 int
__DNA__SDNA_INDEX
This is the sdna index of the struct Link.-
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 Link(long __address, Block __block, BlockTable __blockTable)
protected
Link(Link that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Link>
__io__addressof()
Instantiates a pointer on this instance.CPointer<Link>
getNext()
Get method for struct member 'next'.CPointer<Link>
getPrev()
Get method for struct member 'prev'.void
setNext(CPointer<Link> next)
Set method for struct member 'next'.void
setPrev(CPointer<Link> prev)
Set method for struct member 'prev'.-
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 Link.It is required when allocating a new block to store data for Link.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__next
public static final long[] __DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.Field Documentation
Java .Blend
reference on the next element in linked listPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Link link = ...; CPointer<Object> p = link.__dna__addressof(Link.__DNA__FIELD__next); CPointer<CPointer<Link>> p_next = p.cast(new Class[]{CPointer.class, Link.class});
Metadata
- Field: 'next'
- Signature: 'Link*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__prev
public static final long[] __DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.Field Documentation
Java .Blend
reference on previous element in linked listPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Link link = ...; CPointer<Object> p = link.__dna__addressof(Link.__DNA__FIELD__prev); CPointer<CPointer<Link>> p_prev = p.cast(new Class[]{CPointer.class, Link.class});
Metadata
- Field: 'prev'
- Signature: 'Link*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
Link
public Link(long __address, Block __block, BlockTable __blockTable)
-
Link
protected Link(Link that)
-
-
Method Detail
-
getNext
public CPointer<Link> getNext() throws java.io.IOException
Get method for struct member 'next'.Field Documentation
Java .Blend
reference on the next element in linked list- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<Link> next) throws java.io.IOException
Set method for struct member 'next'.Field Documentation
Java .Blend
reference on the next element in linked list- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<Link> getPrev() throws java.io.IOException
Get method for struct member 'prev'.Field Documentation
Java .Blend
reference on previous element in linked list- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<Link> prev) throws java.io.IOException
Set method for struct member 'prev'.Field Documentation
Java .Blend
reference on previous element in linked list- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
-