Class SpaceInfo


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

    Class Documentation

    Blender Source Code

    Info Header.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__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:

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__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:

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__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:

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__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:

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__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:

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__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
      • __DNA__FIELD__rpt_mask

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

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Pointer Arithmetics

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

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__DNA__FIELD__rpt_mask);
         CPointer<Byte> p_rpt_mask = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'rpt_mask'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         SpaceInfo spaceinfo = ...;
         CPointer<Object> p = spaceinfo.__dna__addressof(SpaceInfo.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • SpaceInfo

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

        protected SpaceInfo​(SpaceInfo 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
      • getRpt_mask

        public byte getRpt_mask()
                         throws java.io.IOException
        Get method for struct member 'rpt_mask'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rpt_mask
      • setRpt_mask

        public void setRpt_mask​(byte rpt_mask)
                         throws java.io.IOException
        Set method for struct member 'rpt_mask'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rpt_mask
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

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

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