9 #ifndef __PDG_WORK_ITEM_HOLDER_H__
10 #define __PDG_WORK_ITEM_HOLDER_H__
101 bool addWorkItemArrayFromJSONString(
102 CommitResult& result,
113 CommitResult& result,
121 bool addWorkItemArrayFromDict(
122 CommitResult& result,
133 CommitResult& result,
141 bool addWorkItemArrayFromJSONFile(
142 CommitResult& result,
153 CommitResult& result,
163 {
return myProcessor; }
165 {
return myAddedWorkItems; }
167 {
return myAddedBatchItems; }
169 {
return myAllWorkItems; }
171 {
return myAllBatchItems; }
173 void addExtraWorkItems(
177 {
return myAddedWorkItems.isEmpty(); }
179 {
return myIsCommitable; }
182 {
return myCommitCount; }
184 { myCommitCount =
count; }
186 bool useNodePriority()
const;
189 void clearAddedItems(
bool delete_items);
190 void setExistingItems(
204 CommitResult autoCommit();
210 ExistingTable() : myFirstIndex(0) {}
229 ExistingMap myExistingWorkItems;
const PDG_BatchWorkItemSet & addedBatchItems() const
bool isCommitable() const
const PDG_BatchWorkItemSet & allBatchItems() const
**But if you need a result
const PDG_WorkItemArray & allWorkItems() const
GLintptr GLsizeiptr GLboolean commit
void setCommitCount(int count)
CommitResult
Enumeration of possible commit result.
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.
const PDG_WorkItemArray & addedWorkItems() const