Class CacheFileLayer


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        Path to the archive

        Blender Source Code

        1024 = FILE_MAX.

        Pointer Arithmetics

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

         CacheFileLayer cachefilelayer = ...;
         CPointer<Object> p = cachefilelayer.__dna__addressof(CacheFileLayer.__DNA__FIELD__filepath);
         CPointer<CArrayFacade<Byte>> p_filepath = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'filepath'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __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:

         CacheFileLayer cachefilelayer = ...;
         CPointer<Object> p = cachefilelayer.__dna__addressof(CacheFileLayer.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

         CacheFileLayer cachefilelayer = ...;
         CPointer<Object> p = cachefilelayer.__dna__addressof(CacheFileLayer.__DNA__FIELD___pad);
         CPointer<Integer> p__pad = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • CacheFileLayer

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

      • getFilepath

        public CArrayFacade<java.lang.Byte> getFilepath()
                                                 throws java.io.IOException
        Get method for struct member 'filepath'.

        Field Documentation

        Blender Python API

        Path to the archive

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath
      • setFilepath

        public void setFilepath​(CArrayFacade<java.lang.Byte> filepath)
                         throws java.io.IOException
        Set method for struct member 'filepath'.

        Field Documentation

        Blender Python API

        Path to the archive

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath
      • getFlag

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

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

        public int 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​(int _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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