Class 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.

    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 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.