Class FileFolderHistory


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

    Class Documentation

    Blender Source Code

    A wrapper to store previous and next folder lists (#FolderList) for a specific browse mode (eFileBrowse_Mode ).

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        The browse mode this prev/next folder-lists are created for. eFileBrowse_Mode

        Pointer Arithmetics

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

         FileFolderHistory filefolderhistory = ...;
         CPointer<Object> p = filefolderhistory.__dna__addressof(FileFolderHistory.__DNA__FIELD__browse_mode);
         CPointer<Byte> p_browse_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'browse_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         FileFolderHistory filefolderhistory = ...;
         CPointer<Object> p = filefolderhistory.__dna__addressof(FileFolderHistory.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
      • __DNA__FIELD__folders_prev

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

        Field Documentation

        Blender Source Code

        Holds the list of previous directories to show.

        Pointer Arithmetics

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

         FileFolderHistory filefolderhistory = ...;
         CPointer<Object> p = filefolderhistory.__dna__addressof(FileFolderHistory.__DNA__FIELD__folders_prev);
         CPointer<ListBase> p_folders_prev = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'folders_prev'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__folders_next

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

        Field Documentation

        Blender Source Code

        Holds the list of next directories (pushed from previous) to show.

        Pointer Arithmetics

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

         FileFolderHistory filefolderhistory = ...;
         CPointer<Object> p = filefolderhistory.__dna__addressof(FileFolderHistory.__DNA__FIELD__folders_next);
         CPointer<ListBase> p_folders_next = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'folders_next'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
    • Constructor Detail

      • FileFolderHistory

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

      • getNext

        public CPointer<java.lang.Object> 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<java.lang.Object> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • getPrev

        public CPointer<java.lang.Object> 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<java.lang.Object> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getBrowse_mode

        public byte getBrowse_mode()
                            throws java.io.IOException
        Get method for struct member 'browse_mode'.

        Field Documentation

        Blender Source Code

        The browse mode this prev/next folder-lists are created for. eFileBrowse_Mode

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__browse_mode
      • setBrowse_mode

        public void setBrowse_mode​(byte browse_mode)
                            throws java.io.IOException
        Set method for struct member 'browse_mode'.

        Field Documentation

        Blender Source Code

        The browse mode this prev/next folder-lists are created for. eFileBrowse_Mode

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__browse_mode
      • get_pad

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

        public ListBase getFolders_prev()
                                 throws java.io.IOException
        Get method for struct member 'folders_prev'.

        Field Documentation

        Blender Source Code

        Holds the list of previous directories to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_prev
      • setFolders_prev

        public void setFolders_prev​(ListBase folders_prev)
                             throws java.io.IOException
        Set method for struct member 'folders_prev'.

        Field Documentation

        Blender Source Code

        Holds the list of previous directories to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_prev
      • getFolders_next

        public ListBase getFolders_next()
                                 throws java.io.IOException
        Get method for struct member 'folders_next'.

        Field Documentation

        Blender Source Code

        Holds the list of next directories (pushed from previous) to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_next
      • setFolders_next

        public void setFolders_next​(ListBase folders_next)
                             throws java.io.IOException
        Set method for struct member 'folders_next'.

        Field Documentation

        Blender Source Code

        Holds the list of next directories (pushed from previous) to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__folders_next