public class FileDirEntryArr extends CFacade
Array of direntries. This struct is used in various, different contexts. In Filebrowser UI, it stores the total number of available entries, the number of visible (filtered) entries, and a subset of those in 'entries' ListBase
, from idx_start (included) to idx_end (excluded). In AssetEngine context (i.e. outside of 'browsing' context), entries contain all needed data, there is no filtering, so nbr_entries_filtered, entry_idx_start and entry_idx_end should all be set to -1.
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD__entries
Field descriptor (offset) for struct member 'entries'.
|
static long[] |
__DNA__FIELD__entry_idx_end
Field descriptor (offset) for struct member 'entry_idx_end'.
|
static long[] |
__DNA__FIELD__entry_idx_start
Field descriptor (offset) for struct member 'entry_idx_start'.
|
static long[] |
__DNA__FIELD__nbr_entries
Field descriptor (offset) for struct member 'nbr_entries'.
|
static long[] |
__DNA__FIELD__nbr_entries_filtered
Field descriptor (offset) for struct member 'nbr_entries_filtered'.
|
static long[] |
__DNA__FIELD__root
Field descriptor (offset) for struct member 'root'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct FileDirEntryArr.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
FileDirEntryArr(FileDirEntryArr that) |
|
FileDirEntryArr(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<FileDirEntryArr> |
__io__addressof()
Instantiates a pointer on this instance.
|
ListBase |
getEntries()
Get method for struct member 'entries'.
|
int |
getEntry_idx_end()
Get method for struct member 'entry_idx_end'.
|
int |
getEntry_idx_start()
Get method for struct member 'entry_idx_start'.
|
int |
getNbr_entries_filtered()
Get method for struct member 'nbr_entries_filtered'.
|
int |
getNbr_entries()
Get method for struct member 'nbr_entries'.
|
CArrayFacade<java.lang.Byte> |
getRoot()
Get method for struct member 'root'.
|
void |
setEntries(ListBase entries)
Set method for struct member 'entries'.
|
void |
setEntry_idx_end(int entry_idx_end)
Set method for struct member 'entry_idx_end'.
|
void |
setEntry_idx_start(int entry_idx_start)
Set method for struct member 'entry_idx_start'.
|
void |
setNbr_entries_filtered(int nbr_entries_filtered)
Set method for struct member 'nbr_entries_filtered'.
|
void |
setNbr_entries(int nbr_entries)
Set method for struct member 'nbr_entries'.
|
void |
setRoot(CArrayFacade<java.lang.Byte> root)
Set method for struct member 'root'.
|
__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 FileDirEntryArr.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__entries
This is how you get a reference on the corresponding field in the struct:
FileDirEntryArr filedirentryarr = ...; CPointer<Object> p = filedirentryarr.__dna__addressof(FileDirEntryArr.__DNA__FIELD__entries); CPointer<ListBase> p_entries = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__nbr_entries
This is how you get a reference on the corresponding field in the struct:
FileDirEntryArr filedirentryarr = ...; CPointer<Object> p = filedirentryarr.__dna__addressof(FileDirEntryArr.__DNA__FIELD__nbr_entries); CPointer<Integer> p_nbr_entries = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__nbr_entries_filtered
This is how you get a reference on the corresponding field in the struct:
FileDirEntryArr filedirentryarr = ...; CPointer<Object> p = filedirentryarr.__dna__addressof(FileDirEntryArr.__DNA__FIELD__nbr_entries_filtered); CPointer<Integer> p_nbr_entries_filtered = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__entry_idx_start
This is how you get a reference on the corresponding field in the struct:
FileDirEntryArr filedirentryarr = ...; CPointer<Object> p = filedirentryarr.__dna__addressof(FileDirEntryArr.__DNA__FIELD__entry_idx_start); CPointer<Integer> p_entry_idx_start = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__entry_idx_end
This is how you get a reference on the corresponding field in the struct:
FileDirEntryArr filedirentryarr = ...; CPointer<Object> p = filedirentryarr.__dna__addressof(FileDirEntryArr.__DNA__FIELD__entry_idx_end); CPointer<Integer> p_entry_idx_end = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__root
FILE_MAX
This is how you get a reference on the corresponding field in the struct:
FileDirEntryArr filedirentryarr = ...; CPointer<Object> p = filedirentryarr.__dna__addressof(FileDirEntryArr.__DNA__FIELD__root); CPointer<CArrayFacade<Byte>> p_root = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public FileDirEntryArr(long __address, Block __block, BlockTable __blockTable)
protected FileDirEntryArr(FileDirEntryArr that)
public ListBase getEntries() throws java.io.IOException
java.io.IOException
__DNA__FIELD__entries
public void setEntries(ListBase entries) throws java.io.IOException
java.io.IOException
__DNA__FIELD__entries
public int getNbr_entries() throws java.io.IOException
java.io.IOException
__DNA__FIELD__nbr_entries
public void setNbr_entries(int nbr_entries) throws java.io.IOException
java.io.IOException
__DNA__FIELD__nbr_entries
public int getNbr_entries_filtered() throws java.io.IOException
java.io.IOException
__DNA__FIELD__nbr_entries_filtered
public void setNbr_entries_filtered(int nbr_entries_filtered) throws java.io.IOException
java.io.IOException
__DNA__FIELD__nbr_entries_filtered
public int getEntry_idx_start() throws java.io.IOException
java.io.IOException
__DNA__FIELD__entry_idx_start
public void setEntry_idx_start(int entry_idx_start) throws java.io.IOException
java.io.IOException
__DNA__FIELD__entry_idx_start
public int getEntry_idx_end() throws java.io.IOException
java.io.IOException
__DNA__FIELD__entry_idx_end
public void setEntry_idx_end(int entry_idx_end) throws java.io.IOException
java.io.IOException
__DNA__FIELD__entry_idx_end
public CArrayFacade<java.lang.Byte> getRoot() throws java.io.IOException
FILE_MAX
java.io.IOException
__DNA__FIELD__root
public void setRoot(CArrayFacade<java.lang.Byte> root) throws java.io.IOException
FILE_MAX
java.io.IOException
__DNA__FIELD__root
public CPointer<FileDirEntryArr> __io__addressof()