Class SpaceLink


  • public class SpaceLink
    extends CFacade
    Generated facet for DNA struct type 'SpaceLink'.

    Class Documentation

    Blender Source Code

    The base structure all the other spaces are derived (implicitly) from. Would be good to make this explicit.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct SpaceLink.

        It is required when allocating a new block to store data for SpaceLink.

        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:

         SpaceLink spacelink = ...;
         CPointer<Object> p = spacelink.__dna__addressof(SpaceLink.__DNA__FIELD__next);
         CPointer<CPointer<SpaceLink>> p_next = p.cast(new Class[]{CPointer.class, SpaceLink.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'SpaceLink*'
        • 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:

         SpaceLink spacelink = ...;
         CPointer<Object> p = spacelink.__dna__addressof(SpaceLink.__DNA__FIELD__prev);
         CPointer<CPointer<SpaceLink>> p_prev = p.cast(new Class[]{CPointer.class, SpaceLink.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'SpaceLink*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__regionbase

        public static final long[] __DNA__FIELD__regionbase
        Field descriptor (offset) for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceLink spacelink = ...;
         CPointer<Object> p = spacelink.__dna__addressof(SpaceLink.__DNA__FIELD__regionbase);
         CPointer<ListBase> p_regionbase = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'regionbase'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__spacetype

        public static final long[] __DNA__FIELD__spacetype
        Field descriptor (offset) for struct member 'spacetype'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceLink spacelink = ...;
         CPointer<Object> p = spacelink.__dna__addressof(SpaceLink.__DNA__FIELD__spacetype);
         CPointer<Byte> p_spacetype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'spacetype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__link_flag

        public static final long[] __DNA__FIELD__link_flag
        Field descriptor (offset) for struct member 'link_flag'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceLink spacelink = ...;
         CPointer<Object> p = spacelink.__dna__addressof(SpaceLink.__DNA__FIELD__link_flag);
         CPointer<Byte> p_link_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'link_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

        public static final long[] __DNA__FIELD___pad0
        Field descriptor (offset) for struct member '_pad0'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         SpaceLink spacelink = ...;
         CPointer<Object> p = spacelink.__dna__addressof(SpaceLink.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
    • Constructor Detail

      • SpaceLink

        public SpaceLink​(long __address,
                         Block __block,
                         BlockTable __blockTable)
      • SpaceLink

        protected SpaceLink​(SpaceLink that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<SpaceLink> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<SpaceLink> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getRegionbase

        public ListBase getRegionbase()
                               throws java.io.IOException
        Get method for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • setRegionbase

        public void setRegionbase​(ListBase regionbase)
                           throws java.io.IOException
        Set method for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • getSpacetype

        public byte getSpacetype()
                          throws java.io.IOException
        Get method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • setSpacetype

        public void setSpacetype​(byte spacetype)
                          throws java.io.IOException
        Set method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • getLink_flag

        public byte getLink_flag()
                          throws java.io.IOException
        Get method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • setLink_flag

        public void setLink_flag​(byte link_flag)
                          throws java.io.IOException
        Set method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • __io__addressof

        public CPointer<SpaceLink> __io__addressof()
        Instantiates a pointer on this instance.