HDK
|
#include <PDG_Filter.h>
Public Types | |
enum | Type { eSingle, eRange, eSet, eInvalid } |
Storage method the filter uses to keep track of ids. More... | |
Public Member Functions | |
PDG_Filter () | |
Constructs a new filter, which is all by default. More... | |
PDG_Filter (bool is_strict) | |
bool | isAll () const |
Returns true if the filter is set to cook all static items. More... | |
bool | apply (PDG_WorkItemID id) const |
void | setNone () |
Configures the filter to cook nothing. More... | |
void | setAll () |
Configures the filter so that it specifies all static items. More... | |
void | setSingle (PDG_WorkItemID single) |
Configures the filter to cook a single static item. More... | |
void | setRange (PDG_WorkItemID start, PDG_WorkItemID end) |
Configures the filter to cook an inclusive range of work items. More... | |
void | setSet (const PDG_WorkItemIDSet &set) |
Configures the filter to cook a set of items. More... | |
void | appendToSet (PDG_WorkItemID id) |
Appends an id to the set of static items to cook. More... | |
void | eraseFromSet (PDG_WorkItemID id) |
Type | type () const |
Returns the filter cook type. More... | |
const PDG_WorkItemIDSet & | set () const |
Returns the filter id set. More... | |
bool | strict () const |
Returns true if the filter is strict. More... | |
An item id filter that describes what static item ids to cook. The filter is either a single id, a range of ids or a set of ids.
Definition at line 19 of file PDG_Filter.h.
enum PDG_Filter::Type |
Storage method the filter uses to keep track of ids.
Enumerator | |
---|---|
eSingle | |
eRange |
A single item id. |
eSet |
An inclusive range of item ids. |
eInvalid |
A set of aribitrary ids, possibly disjoint. |
Definition at line 23 of file PDG_Filter.h.
|
inline |
Constructs a new filter, which is all by default.
Definition at line 33 of file PDG_Filter.h.
|
inline |
Constructs a filter with a specific value for the Strict flag. A Strict filter will cook exactly the desired static item set, not the set + other dependencies
Definition at line 42 of file PDG_Filter.h.
|
inline |
Appends an id to the set of static items to cook.
Definition at line 107 of file PDG_Filter.h.
|
inline |
Returns true if the given id matches that ones that this filter wishes to cook
Definition at line 56 of file PDG_Filter.h.
|
inline |
Definition at line 116 of file PDG_Filter.h.
|
inline |
Returns true if the filter is set to cook all static items.
Definition at line 49 of file PDG_Filter.h.
|
inline |
Returns the filter id set.
Definition at line 125 of file PDG_Filter.h.
|
inline |
Configures the filter so that it specifies all static items.
Definition at line 74 of file PDG_Filter.h.
|
inline |
Configures the filter to cook nothing.
Definition at line 67 of file PDG_Filter.h.
|
inline |
Configures the filter to cook an inclusive range of work items.
Definition at line 90 of file PDG_Filter.h.
|
inline |
Configures the filter to cook a set of items.
Definition at line 100 of file PDG_Filter.h.
|
inline |
Configures the filter to cook a single static item.
Definition at line 81 of file PDG_Filter.h.
|
inline |
Returns true if the filter is strict.
Definition at line 128 of file PDG_Filter.h.
|
inline |
Returns the filter cook type.
Definition at line 122 of file PDG_Filter.h.