Package org.blender.dna
Class IdAdtTemplate
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.IdAdtTemplate
-
public class IdAdtTemplate extends CFacade
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct IdAdtTemplate.-
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 IdAdtTemplate(long __address, Block __block, BlockTable __blockTable)
protected
IdAdtTemplate(IdAdtTemplate that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<IdAdtTemplate>
__io__addressof()
Instantiates a pointer on this instance.CPointer<AnimData>
getAdt()
Get method for struct member 'adt'.ID
getId()
Get method for struct member 'id'.void
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.void
setId(ID id)
Set method for struct member 'id'.-
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 IdAdtTemplate.It is required when allocating a new block to store data for IdAdtTemplate.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
IdAdtTemplate idadttemplate = ...; CPointer<Object> p = idadttemplate.__dna__addressof(IdAdtTemplate.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 152/192
-
__DNA__FIELD__adt
public static final long[] __DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
IdAdtTemplate idadttemplate = ...; CPointer<Object> p = idadttemplate.__dna__addressof(IdAdtTemplate.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
Metadata
- Field: 'adt'
- Signature: 'AnimData*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
IdAdtTemplate
public IdAdtTemplate(long __address, Block __block, BlockTable __blockTable)
-
IdAdtTemplate
protected IdAdtTemplate(IdAdtTemplate that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getAdt
public CPointer<AnimData> getAdt() throws java.io.IOException
Get method for struct member 'adt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
setAdt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
Set method for struct member 'adt'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__adt
-
__io__addressof
public CPointer<IdAdtTemplate> __io__addressof()
Instantiates a pointer on this instance.
-
-