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___pad_0
Field descriptor (offset) for struct member '_pad_0'.static long[]
__DNA__FIELD__filedata
Field descriptor (offset) for struct member 'filedata'.static long[]
__DNA__FIELD__filepath_abs
Field descriptor (offset) for struct member 'filepath_abs'.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__tag
Field descriptor (offset) for struct member 'tag'.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.CArrayFacade<java.lang.Byte>
get_pad_0()
Get method for struct member '_pad_0'.CPointer<java.lang.Object>
getFiledata()
Get method for struct member 'filedata'.CArrayFacade<java.lang.Byte>
getFilepath_abs()
Get method for struct member 'filepath_abs'.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'.short
getTag()
Get method for struct member 'tag'.int
getTemp_index()
Get method for struct member 'temp_index'.short
getVersionfile()
Get method for struct member 'versionfile'.void
set_pad_0(CArrayFacade<java.lang.Byte> _pad_0)
Set method for struct member '_pad_0'.void
setFiledata(CPointer<java.lang.Object> filedata)
Set method for struct member 'filedata'.void
setFilepath_abs(CArrayFacade<java.lang.Byte> filepath_abs)
Set method for struct member 'filepath_abs'.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
setTag(short tag)
Set method for struct member 'tag'.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): 152/192
-
__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'.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_abs
public static final long[] __DNA__FIELD__filepath_abs
Field descriptor (offset) for struct member 'filepath_abs'.Field Documentation
Blender Source Code
is the real path used on file read but in some cases its useful to access the absolute one.
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_abs); CPointer<CArrayFacade<Byte>> p_filepath_abs = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'filepath_abs'
- 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__tag
public static final long[] __DNA__FIELD__tag
Field descriptor (offset) for struct member 'tag'.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__tag); CPointer<Short> p_tag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'tag'
- Signature: 'ushort'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad_0
public static final long[] __DNA__FIELD___pad_0
Field descriptor (offset) for struct member '_pad_0'.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___pad_0); CPointer<CArrayFacade<Byte>> p__pad_0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad_0'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
__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, and liboverride recursive resync.
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'.- 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'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
getFilepath_abs
public CArrayFacade<java.lang.Byte> getFilepath_abs() throws java.io.IOException
Get method for struct member 'filepath_abs'.Field Documentation
Blender Source Code
is the real path used on file read but in some cases its useful to access the absolute one.
directly and it will be kept in sync - campbell
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filepath_abs
-
setFilepath_abs
public void setFilepath_abs(CArrayFacade<java.lang.Byte> filepath_abs) throws java.io.IOException
Set method for struct member 'filepath_abs'.Field Documentation
Blender Source Code
is the real path used on file read but in some cases its useful to access the absolute one.
directly and it will be kept in sync - campbell
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__filepath_abs
-
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
-
getTag
public short getTag() throws java.io.IOException
Get method for struct member 'tag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tag
-
setTag
public void setTag(short tag) throws java.io.IOException
Set method for struct member 'tag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__tag
-
get_pad_0
public CArrayFacade<java.lang.Byte> get_pad_0() throws java.io.IOException
Get method for struct member '_pad_0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad_0
-
set_pad_0
public void set_pad_0(CArrayFacade<java.lang.Byte> _pad_0) throws java.io.IOException
Set method for struct member '_pad_0'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad_0
-
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, and liboverride recursive resync.
- 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, and liboverride recursive resync.
- 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
-
-