Class PTCacheExtra


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

        • Field: 'prev'
        • Signature: 'PTCacheExtra*'
        • 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:

         PTCacheExtra ptcacheextra = ...;
         CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__DNA__FIELD__type);
         CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__totdata

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

        Pointer Arithmetics

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

         PTCacheExtra ptcacheextra = ...;
         CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__DNA__FIELD__totdata);
         CPointer<Integer> p_totdata = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'totdata'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__data

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

        Pointer Arithmetics

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

         PTCacheExtra ptcacheextra = ...;
         CPointer<Object> p = ptcacheextra.__dna__addressof(PTCacheExtra.__DNA__FIELD__data);
         CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'data'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • PTCacheExtra

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

        protected PTCacheExtra​(PTCacheExtra that)
    • Method Detail

      • getType

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

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

        public int getTotdata()
                       throws java.io.IOException
        Get method for struct member 'totdata'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totdata
      • setTotdata

        public void setTotdata​(int totdata)
                        throws java.io.IOException
        Set method for struct member 'totdata'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__totdata
      • getData

        public CPointer<java.lang.Object> getData()
                                           throws java.io.IOException
        Get method for struct member 'data'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setData

        public void setData​(CPointer<java.lang.Object> data)
                     throws java.io.IOException
        Set method for struct member 'data'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • __io__addressof

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