Class SessionUUID
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.SessionUUID
-
public class SessionUUID extends CFacade
Generated facet for DNA struct type 'SessionUUID'.Class Documentation
Blender Source Code
Is a structure because of the following considerations:
It is not possible to use custom types in DNA members: makesdna does not recognize them.
It allows to add more bits, more than standard fixed-size types can store. For example, if we ever need to go 128 bits, it is as simple as adding extra 64bit field.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__uuid_
Field descriptor (offset) for struct member 'uuid_'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct SessionUUID.-
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 SessionUUID(long __address, Block __block, BlockTable __blockTable)
protected
SessionUUID(SessionUUID that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<SessionUUID>
__io__addressof()
Instantiates a pointer on this instance.long
getUuid_()
Get method for struct member 'uuid_'.void
setUuid_(long uuid_)
Set method for struct member 'uuid_'.-
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 SessionUUID.It is required when allocating a new block to store data for SessionUUID.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__uuid_
public static final long[] __DNA__FIELD__uuid_
Field descriptor (offset) for struct member 'uuid_'.Field Documentation
Blender Source Code
Never access directly, as it might cause a headache when more bits are needed: if the field is used directly it will not be easy to find all places where partial access is used.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
SessionUUID sessionuuid = ...; CPointer<Object> p = sessionuuid.__dna__addressof(SessionUUID.__DNA__FIELD__uuid_); CPointer<int64> p_uuid_ = p.cast(new Class[]{int64.class});
Metadata
- Field: 'uuid_'
- Signature: 'uint64_t'
- Actual Size (32bit/64bit): 8/8
-
-
Constructor Detail
-
SessionUUID
public SessionUUID(long __address, Block __block, BlockTable __blockTable)
-
SessionUUID
protected SessionUUID(SessionUUID that)
-
-
Method Detail
-
getUuid_
public long getUuid_() throws java.io.IOException
Get method for struct member 'uuid_'.Field Documentation
Blender Source Code
Never access directly, as it might cause a headache when more bits are needed: if the field is used directly it will not be easy to find all places where partial access is used.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uuid_
-
setUuid_
public void setUuid_(long uuid_) throws java.io.IOException
Set method for struct member 'uuid_'.Field Documentation
Blender Source Code
Never access directly, as it might cause a headache when more bits are needed: if the field is used directly it will not be easy to find all places where partial access is used.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uuid_
-
__io__addressof
public CPointer<SessionUUID> __io__addressof()
Instantiates a pointer on this instance.
-
-