Class ScrArea_Runtime


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__tool

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

        Pointer Arithmetics

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

         ScrArea_Runtime scrarea_runtime = ...;
         CPointer<Object> p = scrarea_runtime.__dna__addressof(ScrArea_Runtime.__DNA__FIELD__tool);
         CPointer<CPointer<bToolRef>> p_tool = p.cast(new Class[]{CPointer.class, bToolRef.class});
         

        Metadata

        • Field: 'tool'
        • Signature: 'bToolRef*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__is_tool_set

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

        Pointer Arithmetics

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

         ScrArea_Runtime scrarea_runtime = ...;
         CPointer<Object> p = scrarea_runtime.__dna__addressof(ScrArea_Runtime.__DNA__FIELD__is_tool_set);
         CPointer<Byte> p_is_tool_set = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'is_tool_set'
        • 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:

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

        Metadata

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

      • ScrArea_Runtime

        public ScrArea_Runtime​(long __address,
                               Block __block,
                               BlockTable __blockTable)
    • Method Detail

      • setTool

        public void setTool​(CPointer<bToolRef> tool)
                     throws java.io.IOException
        Set method for struct member 'tool'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tool
      • getIs_tool_set

        public byte getIs_tool_set()
                            throws java.io.IOException
        Get method for struct member 'is_tool_set'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__is_tool_set
      • setIs_tool_set

        public void setIs_tool_set​(byte is_tool_set)
                            throws java.io.IOException
        Set method for struct member 'is_tool_set'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__is_tool_set
      • 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