Class Effect


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         Effect effect = ...;
         CPointer<Object> p = effect.__dna__addressof(Effect.__DNA__FIELD__type);
         CPointer<Short> p_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         Effect effect = ...;
         CPointer<Object> p = effect.__dna__addressof(Effect.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__buttype

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

        Pointer Arithmetics

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

         Effect effect = ...;
         CPointer<Object> p = effect.__dna__addressof(Effect.__DNA__FIELD__buttype);
         CPointer<Short> p_buttype = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'buttype'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__rt

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

        Pointer Arithmetics

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

         Effect effect = ...;
         CPointer<Object> p = effect.__dna__addressof(Effect.__DNA__FIELD__rt);
         CPointer<Short> p_rt = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'rt'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
    • Constructor Detail

      • Effect

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

        protected Effect​(Effect that)
    • Method Detail

      • getNext

        public CPointer<Effect> getNext()
                                 throws java.io.IOException
        Get method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setNext

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

        public CPointer<Effect> getPrev()
                                 throws java.io.IOException
        Get method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • setPrev

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

        public short getType()
                      throws java.io.IOException
        Get method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(short type)
                     throws java.io.IOException
        Set method for struct member 'type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getButtype

        public short getButtype()
                         throws java.io.IOException
        Get method for struct member 'buttype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__buttype
      • setButtype

        public void setButtype​(short buttype)
                        throws java.io.IOException
        Set method for struct member 'buttype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__buttype
      • getRt

        public short getRt()
                    throws java.io.IOException
        Get method for struct member 'rt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rt
      • setRt

        public void setRt​(short rt)
                   throws java.io.IOException
        Set method for struct member 'rt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rt
      • __io__addressof

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