9 #ifndef __PDG_WORKITEM_DIRTY_H__
10 #define __PDG_WORKITEM_DIRTY_H__
48 , myDirtyNode(nullptr)
49 , myDirtyType(eDirtyInvalid)
50 , myEmitGraphEvents(false)
51 , myIsDelete(false) {}
55 Type dirty_type=eDirtyInvalid)
57 , myDirtyNode(nullptr)
58 , myDirtyType(dirty_type)
59 , myEmitGraphEvents(false)
60 , myIsDelete(is_delete) {}
65 bool emit_graph_events)
68 , myDirtyType(eDirtyNode)
69 , myEmitGraphEvents(emit_graph_events)
70 , myIsDelete(is_delete) {}
74 {
return myDirtyType; }
79 {
return myDirtyFiles; }
84 {
return myKeepFiles; }
115 bool will_remove_outputs);
118 void applyDirty(
bool remove_outputs);
123 bool updateDirtyData(
138 bool removeDependency(
148 void applyWorkItemDirty(
bool remove_outputs);
165 , myDataDirty(DirtyData::eUnset) {}
172 DirtyData myDataDirty;
180 DirtyWorkItemMap myDeleteMap;
181 DirtyNodeMap myDeleteNodeMap;
183 DirtyWorkItemMap myDirtyMap;
184 DirtyInfoMap myDirtyInfoMap;
194 bool myEmitGraphEvents;
const PDG_File::Set & dirtyFiles() const
Returns the list of files from dirty work items.
const UT_ArrayStringSet & keepFiles() const
Returns the list of files that are prevented from being deleted.
Type dirtyType() const
Returns the dirty type.
PDG_WorkItemDirty(PDG_GraphContext *context, bool is_delete, Type dirty_type=eDirtyInvalid)
Type
Enumeration of dirty types.
Invalid/uninitialized dirty operation.
Dirty of a single work iem.
PDG_WorkItemDirty(PDG_GraphContext *context, PDG_Node *node, bool is_delete, bool emit_graph_events)