9 #ifndef __PDG_WORK_ITEM_HOLDER_H__
10 #define __PDG_WORK_ITEM_HOLDER_H__
99 bool addWorkItemArrayFromJSONString(
100 CommitResult& result,
111 CommitResult& result,
119 bool addWorkItemArrayFromJSONFile(
120 CommitResult& result,
131 CommitResult& result,
141 {
return myProcessor; }
143 {
return myAddedWorkItems; }
145 {
return myAddedBatchItems; }
147 {
return myAllWorkItems; }
149 {
return myAllBatchItems; }
151 void addExtraWorkItems(
155 {
return myAddedWorkItems.isEmpty(); }
157 {
return myIsCommitable; }
160 {
return myCommitCount; }
162 { myCommitCount =
count; }
164 bool useNodePriority()
const;
167 void clearAddedItems(
bool delete_items);
168 void setExistingItems(
182 CommitResult autoCommit();
188 ExistingTable() : myFirstIndex(0) {}
207 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