Class CacheObjectPath


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

    Class Documentation

    Blender Source Code

    UNUSED Representation of an object's path inside the archive. Note that this is not a file path.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        Object path

        Pointer Arithmetics

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

         CacheObjectPath cacheobjectpath = ...;
         CPointer<Object> p = cacheobjectpath.__dna__addressof(CacheObjectPath.__DNA__FIELD__path);
         CPointer<CArrayFacade<Byte>> p_path = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'path'
        • Signature: 'char[4096]'
        • Actual Size (32bit/64bit): 4096/4096
    • Constructor Detail

      • CacheObjectPath

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

      • getPath

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

        Field Documentation

        Blender Python API

        Object path
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__path
      • setPath

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

        Field Documentation

        Blender Python API

        Object path
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__path