9 #ifndef PDG_PARTITION_HOLDER
10 #define PDG_PARTITION_HOLDER
35 bool addItemToPartition(
42 bool addItemToPartition(
53 void setPartitionFrame(
58 void setPartitionFrame(
64 {
return myPartitions; }
68 {
return myRequiredMap; }
78 {
return myMaxIndex; }
83 {
return myNumPartitions; }
87 {
return mySplitAttrib; }
91 {
return mySplitValue; }
96 {
return myIsSplitting; }
101 {
return mySplitMissing; }
103 {
return mySplitMissing; }
109 bool isAllSetOnly()
const;
128 IndexMap myPartitions;
129 IndexMap myRequiredMap;
130 IndexFrameMap myFrameMap;
134 StringFrameMap myNamedFrameMap;
PDG_WorkItemArray & splitMissing()
int maxIndex() const
Returns the current max index of all partitions added to the holder.
UT_Optional< fpreal > OptionalFrame
const UT_StringHolder & splitAttribute() const
Returns the split attribute name.
const PDG_WorkItemArray & splitMissing() const
GLuint const GLchar * name
const PDG_WorkItemSet & allSet() const
const IndexMap & required() const
Returns the items that should be marked as required for each partition.
const UT_StringHolder & splitValue() const
Returns the current split attribute value.
int numPartitions() const
const IndexMap & partitions() const
Returns the partition map.
std::unordered_map< string, string > StringMap
An unordered map with strings as both keys and values.