Modifier and Type | Field and 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.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
Library(Library that) |
|
Library(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and 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'.
|
__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
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for Library.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
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});
public static final long[] __DNA__FIELD__filedata
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});
public static final long[] __DNA__FIELD__name
path name used for reading, can be relative and edited in the outliner
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});
public static final long[] __DNA__FIELD__filepath
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
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});
public static final long[] __DNA__FIELD__parent
set for indirectly linked libs, used in the outliner and while reading
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});
public static final long[] __DNA__FIELD__packedfile
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});
public static final long[] __DNA__FIELD__temp_index
Temp data needed by read/write code.
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});
public static final long[] __DNA__FIELD__versionfile
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});
public static final long[] __DNA__FIELD__subversionfile
see BLENDER_VERSION, BLENDER_SUBVERSION, needed for do_versions
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});
public Library(long __address, Block __block, BlockTable __blockTable)
protected Library(Library that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<java.lang.Object> getFiledata() throws java.io.IOException
java.io.IOException
__DNA__FIELD__filedata
public void setFiledata(CPointer<java.lang.Object> filedata) throws java.io.IOException
java.io.IOException
__DNA__FIELD__filedata
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
path name used for reading, can be relative and edited in the outliner
java.io.IOException
__DNA__FIELD__name
public void setName(CArrayFacade<java.lang.Byte> name) throws java.io.IOException
path name used for reading, can be relative and edited in the outliner
java.io.IOException
__DNA__FIELD__name
public CArrayFacade<java.lang.Byte> getFilepath() throws java.io.IOException
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
java.io.IOException
__DNA__FIELD__filepath
public void setFilepath(CArrayFacade<java.lang.Byte> filepath) throws java.io.IOException
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
java.io.IOException
__DNA__FIELD__filepath
public CPointer<Library> getParent() throws java.io.IOException
set for indirectly linked libs, used in the outliner and while reading
java.io.IOException
__DNA__FIELD__parent
public void setParent(CPointer<Library> parent) throws java.io.IOException
set for indirectly linked libs, used in the outliner and while reading
java.io.IOException
__DNA__FIELD__parent
public CPointer<PackedFile> getPackedfile() throws java.io.IOException
java.io.IOException
__DNA__FIELD__packedfile
public void setPackedfile(CPointer<PackedFile> packedfile) throws java.io.IOException
java.io.IOException
__DNA__FIELD__packedfile
public int getTemp_index() throws java.io.IOException
Temp data needed by read/write code.
java.io.IOException
__DNA__FIELD__temp_index
public void setTemp_index(int temp_index) throws java.io.IOException
Temp data needed by read/write code.
java.io.IOException
__DNA__FIELD__temp_index
public short getVersionfile() throws java.io.IOException
java.io.IOException
__DNA__FIELD__versionfile
public void setVersionfile(short versionfile) throws java.io.IOException
java.io.IOException
__DNA__FIELD__versionfile
public short getSubversionfile() throws java.io.IOException
see BLENDER_VERSION, BLENDER_SUBVERSION, needed for do_versions
java.io.IOException
__DNA__FIELD__subversionfile
public void setSubversionfile(short subversionfile) throws java.io.IOException
see BLENDER_VERSION, BLENDER_SUBVERSION, needed for do_versions
java.io.IOException
__DNA__FIELD__subversionfile