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