Blender  V3.3
Public Member Functions | Public Attributes | List of all members
LibraryForeachIDData Struct Reference

Public Member Functions

 BLI_LINKSTACK_DECLARE (ids_todo, ID *)
 

Public Attributes

Mainbmain
 
IDowner_id
 
IDself_id
 
int flag
 
int cb_flag
 
int cb_flag_clear
 
LibraryIDLinkCallback callback
 
voiduser_data
 
int status
 
GSetids_handled
 

Detailed Description

Definition at line 30 of file lib_query.c.

Member Function Documentation

◆ BLI_LINKSTACK_DECLARE()

LibraryForeachIDData::BLI_LINKSTACK_DECLARE ( ids_todo  ,
ID  
)

Member Data Documentation

◆ bmain

Main* LibraryForeachIDData::bmain

Definition at line 31 of file lib_query.c.

Referenced by library_foreach_ID_link().

◆ callback

LibraryIDLinkCallback LibraryForeachIDData::callback

Definition at line 52 of file lib_query.c.

◆ cb_flag

int LibraryForeachIDData::cb_flag

Generic flags to be passed to all callback calls for current processed data.

Definition at line 46 of file lib_query.c.

Referenced by library_foreach_ID_link().

◆ cb_flag_clear

int LibraryForeachIDData::cb_flag_clear

Callback flags that are forbidden for all callback calls for current processed data.

Definition at line 48 of file lib_query.c.

Referenced by library_foreach_ID_link().

◆ flag

int LibraryForeachIDData::flag

Flags controlling the behavior of the 'foreach id' looping code.

Definition at line 44 of file lib_query.c.

◆ ids_handled

GSet* LibraryForeachIDData::ids_handled

Definition at line 59 of file lib_query.c.

◆ owner_id

ID* LibraryForeachIDData::owner_id

'Real' ID, the one that might be in bmain, only differs from self_id when the later is a private one.

Definition at line 36 of file lib_query.c.

◆ self_id

ID* LibraryForeachIDData::self_id

ID from which the current ID pointer is being processed. It may be an embedded ID like master collection or root node tree.

Definition at line 41 of file lib_query.c.

◆ status

int LibraryForeachIDData::status

Store the returned value from the callback, to decide how to continue the processing of ID pointers for current data.

Definition at line 56 of file lib_query.c.

◆ user_data

void* LibraryForeachIDData::user_data

Definition at line 53 of file lib_query.c.


The documentation for this struct was generated from the following file: