Class NodeMask


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeMask nodemask = ...;
         CPointer<Object> p = nodemask.__dna__addressof(NodeMask.__DNA__FIELD__size_x);
         CPointer<Integer> p_size_x = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'size_x'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__size_y

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

        Pointer Arithmetics

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

         NodeMask nodemask = ...;
         CPointer<Object> p = nodemask.__dna__addressof(NodeMask.__DNA__FIELD__size_y);
         CPointer<Integer> p_size_y = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'size_y'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • NodeMask

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

        protected NodeMask​(NodeMask that)
    • Method Detail

      • getSize_x

        public int getSize_x()
                      throws java.io.IOException
        Get method for struct member 'size_x'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_x
      • setSize_x

        public void setSize_x​(int size_x)
                       throws java.io.IOException
        Set method for struct member 'size_x'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_x
      • getSize_y

        public int getSize_y()
                      throws java.io.IOException
        Get method for struct member 'size_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_y
      • setSize_y

        public void setSize_y​(int size_y)
                       throws java.io.IOException
        Set method for struct member 'size_y'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__size_y
      • __io__addressof

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