public class SessionUUID extends CFacade
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.
Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
SessionUUID(long __address,
Block __block,
BlockTable __blockTable) |
protected |
SessionUUID(SessionUUID that) |
Modifier and Type | Method and 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_'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for SessionUUID.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__uuid_
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.
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});
public SessionUUID(long __address, Block __block, BlockTable __blockTable)
protected SessionUUID(SessionUUID that)
public long getUuid_() throws java.io.IOException
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.
java.io.IOException
__DNA__FIELD__uuid_
public void setUuid_(long uuid_) throws java.io.IOException
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.
java.io.IOException
__DNA__FIELD__uuid_
public CPointer<SessionUUID> __io__addressof()