Class Library
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Library
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__filedata
Field descriptor (offset) for struct member 'filedata'.static long[]
__DNA__FIELD__filepath
Field descriptor (offset) for struct member 'filepath'.static long[]
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.static long[]
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.static long[]
__DNA__FIELD__packedfile
Field descriptor (offset) for struct member 'packedfile'.static long[]
__DNA__FIELD__parent
Field descriptor (offset) for struct member 'parent'.static long[]
__DNA__FIELD__subversionfile
Field descriptor (offset) for struct member 'subversionfile'.static long[]
__DNA__FIELD__temp_index
Field descriptor (offset) for struct member 'temp_index'.static long[]
__DNA__FIELD__versionfile
Field descriptor (offset) for struct member 'versionfile'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Library.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description Library(long __address, Block __block, BlockTable __blockTable)
protected
Library(Library that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Library>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Object>
getFiledata()
Get method for struct member 'filedata'.CArrayFacade<java.lang.Byte>
getFilepath()
Get method for struct member 'filepath'.ID
getId()
Get method for struct member 'id'.CArrayFacade<java.lang.Byte>
getName()
Get method for struct member 'name'.CPointer<PackedFile>
getPackedfile()
Get method for struct member 'packedfile'.CPointer<Library>
getParent()
Get method for struct member 'parent'.short
getSubversionfile()
Get method for struct member 'subversionfile'.int
getTemp_index()
Get method for struct member 'temp_index'.short
getVersionfile()
Get method for struct member 'versionfile'.void
setFiledata(CPointer<java.lang.Object> filedata)
Set method for struct member 'filedata'.void
setFilepath(CArrayFacade<java.lang.Byte> filepath)
Set method for struct member 'filepath'.void
setId(ID id)
Set method for struct member 'id'.void
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.void
setPackedfile(CPointer<PackedFile> packedfile)
Set method for struct member 'packedfile'.void
setParent(CPointer<Library> parent)
Set method for struct member 'parent'.void
setSubversionfile(short subversionfile)
Set method for struct member 'subversionfile'.void
setTemp_index(int temp_index)
Set method for struct member 'temp_index'.void
setVersionfile(short versionfile)
Set method for struct member 'versionfile'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct Library.It is required when allocating a new block to store data for Library.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__id
public static final long[] __DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
Metadata
- Field: 'id'
- Signature: 'ID'
- Actual Size (32bit/64bit): 128/160
-
__DNA__FIELD__filedata
public static final long[] __DNA__FIELD__filedata
Field descriptor (offset) for struct member 'filedata'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__filedata); CPointer<CPointer<Object>> p_filedata = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'filedata'
- Signature: 'FileData*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__name
public static final long[] __DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.Field Documentation
Blender Source Code
Path name used for reading, can be relative and edited in the outliner.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__name); CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'name'
- Signature: 'char[1024]'
- Actual Size (32bit/64bit): 1024/1024
-
__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 library .blend fileBlender Source Code
Absolute filepath, this is only for convenience, 'name' is the real path used on file read but in some cases its useful to access the absolute one. This is set on file read. Use BKE_library_filepath_set() rather than setting 'name' directly and it will be kept in sync - campbell
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__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__parent
public static final long[] __DNA__FIELD__parent
Field descriptor (offset) for struct member 'parent'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Set for indirectly linked libs, used in the outliner and while reading.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__parent); CPointer<CPointer<Library>> p_parent = p.cast(new Class[]{CPointer.class, Library.class});
Metadata
- Field: 'parent'
- Signature: 'Library*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__packedfile
public static final long[] __DNA__FIELD__packedfile
Field descriptor (offset) for struct member 'packedfile'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__packedfile); CPointer<CPointer<PackedFile>> p_packedfile = p.cast(new Class[]{CPointer.class, PackedFile.class});
Metadata
- Field: 'packedfile'
- Signature: 'PackedFile*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__temp_index
public static final long[] __DNA__FIELD__temp_index
Field descriptor (offset) for struct member 'temp_index'.Field Documentation
Blender Source Code
Temp data needed by read/write code.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__temp_index); CPointer<Integer> p_temp_index = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'temp_index'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__versionfile
public static final long[] __DNA__FIELD__versionfile
Field descriptor (offset) for struct member 'versionfile'.Field Documentation
Blender Source Code
See BLENDER_FILE_VERSION, BLENDER_FILE_SUBVERSION, needed for do_versions.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__versionfile); CPointer<Short> p_versionfile = p.cast(new Class[]{Short.class});
Metadata
- Field: 'versionfile'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__subversionfile
public static final long[] __DNA__FIELD__subversionfile
Field descriptor (offset) for struct member 'subversionfile'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Library library = ...; CPointer<Object> p = library.__dna__addressof(Library.__DNA__FIELD__subversionfile); CPointer<Short> p_subversionfile = p.cast(new Class[]{Short.class});
Metadata
- Field: 'subversionfile'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
-
Constructor Detail
-
Library
public Library(long __address, Block __block, BlockTable __blockTable)
-
Library
protected Library(Library that)
-
-
Method Detail
-
getId
public ID getId() throws java.io.IOException
Get method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
setId
public void setId(ID id) throws java.io.IOException
Set method for struct member 'id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id
-
getFiledata
public CPointer<java.lang.Object> getFiledata() throws java.io.IOException
Get method for struct member 'filedata'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filedata
-
setFiledata
public void setFiledata(CPointer<java.lang.Object> filedata) throws java.io.IOException
Set method for struct member 'filedata'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filedata
-
getName
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Get method for struct member 'name'.Field Documentation
Blender Source Code
Path name used for reading, can be relative and edited in the outliner.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
setName
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
Set method for struct member 'name'.Field Documentation
Blender Source Code
Path name used for reading, can be relative and edited in the outliner.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
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 library .blend fileBlender Source Code
Absolute filepath, this is only for convenience, 'name' is the real path used on file read but in some cases its useful to access the absolute one. This is set on file read. Use BKE_library_filepath_set() rather than setting 'name' directly and it will be kept in sync - campbell
- 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 library .blend fileBlender Source Code
Absolute filepath, this is only for convenience, 'name' is the real path used on file read but in some cases its useful to access the absolute one. This is set on file read. Use BKE_library_filepath_set() rather than setting 'name' directly and it will be kept in sync - campbell
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filepath
-
getParent
public CPointer<Library> getParent() throws java.io.IOException
Get method for struct member 'parent'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Set for indirectly linked libs, used in the outliner and while reading.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
setParent
public void setParent(CPointer<Library> parent) throws java.io.IOException
Set method for struct member 'parent'.Field Documentation
Blender Python API
(read-only)Blender Source Code
Set for indirectly linked libs, used in the outliner and while reading.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
getPackedfile
public CPointer<PackedFile> getPackedfile() throws java.io.IOException
Get method for struct member 'packedfile'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__packedfile
-
setPackedfile
public void setPackedfile(CPointer<PackedFile> packedfile) throws java.io.IOException
Set method for struct member 'packedfile'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__packedfile
-
getTemp_index
public int getTemp_index() throws java.io.IOException
Get method for struct member 'temp_index'.Field Documentation
Blender Source Code
Temp data needed by read/write code.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__temp_index
-
setTemp_index
public void setTemp_index(int temp_index) throws java.io.IOException
Set method for struct member 'temp_index'.Field Documentation
Blender Source Code
Temp data needed by read/write code.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__temp_index
-
getVersionfile
public short getVersionfile() throws java.io.IOException
Get method for struct member 'versionfile'.Field Documentation
Blender Source Code
See BLENDER_FILE_VERSION, BLENDER_FILE_SUBVERSION, needed for do_versions.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__versionfile
-
setVersionfile
public void setVersionfile(short versionfile) throws java.io.IOException
Set method for struct member 'versionfile'.Field Documentation
Blender Source Code
See BLENDER_FILE_VERSION, BLENDER_FILE_SUBVERSION, needed for do_versions.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__versionfile
-
getSubversionfile
public short getSubversionfile() throws java.io.IOException
Get method for struct member 'subversionfile'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subversionfile
-
setSubversionfile
public void setSubversionfile(short subversionfile) throws java.io.IOException
Set method for struct member 'subversionfile'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__subversionfile
-
-